Function std::f64::to_str_digits[src]
pub fn to_str_digits(num: f64, dig: uint) -> String
Converts a float to a string with a maximum number of significant digits
Arguments
- num - The float value
- digits - The number of significant digits
pub fn to_str_digits(num: f64, dig: uint) -> String
Converts a float to a string with a maximum number of significant digits
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).