[−][src]Function fraction_list_fmt_align::fmt_align_fractions
pub fn fmt_align_fractions(
fractions: &[FractionNumber],
max_precision: u8
) -> Vec<String>
Convenient wrapper around fmt_align_fraction_strings
that takes
a slice of floating point values, formats them all with a maximum
precision and returns a list of aligned, formatted strings.
max_precision
Maximum precision. This means for example ifmax_precision
is 2 than "0.123" will become "0.12" whereas "2.000" will become "2".