Function std::f32::to_str_exp_digits
pub fn to_str_exp_digits(num: f32, dig: uint, upper: bool) -> ~str
Converts a float to a string using the exponential notation with the maximum number of digits after the decimal point in the significand
Arguments
- num - The float value
- digits - The number of digits after the decimal point
- upper - Use
E
instead ofe
for the exponent sign