format_scaled

Function format_scaled 

Source
pub fn format_scaled(
    val: &Integer,
    base: Base,
    dec_places: usize,
    int_width: usize,
    frac_width: usize,
    has_decimal: bool,
) -> Result<String>
Expand description

Formats a scaled [Integer] back into a string in the given base, respecting decimal places, integer width, and fractional width.