Skip to main content

three_digits_zero_padded

Function three_digits_zero_padded 

Source
pub(crate) const fn three_digits_zero_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 zeros are included if the number has fewer than 3 digits.