Skip to main content

rounded_percent_u64

Function rounded_percent_u64 

Source
pub fn rounded_percent_u64(part: u64, total: u64) -> Option<u64>
Expand description

Round part / total to the nearest whole percent without intermediate overflow.