Function to_exp_notation

Source
pub fn to_exp_notation(
    value: U256,
    precision: usize,
    trim_end_zeros: bool,
    sign: Sign,
) -> String
Expand description

Returns the number expressed as a string in exponential notation with the given precision (number of significant figures), optionally removing trailing zeros from the mantissa.