gix_features::progress

Function count_with_decimals

Source
pub fn count_with_decimals(name: &'static str, decimals: usize) -> Option<Unit>
Available on crate features progress and progress-unit-human-numbers only.
Expand description

A unit for displaying human readable numbers with name suffix, with throughput and progress percentage, and decimals decimal places.