Skip to main content

three_digits_space_padded

Function three_digits_space_padded 

Source
pub(crate) const fn three_digits_space_padded(
    n: ru16<0, 999>,
) -> [&'static str; 2]
Available on crate feature formatting only.
Expand description

Obtain two strings of ASCII digits representing n. The first string is the most significant. Leading spaces are included if the number has fewer than 3 digits.