Function std::f32::to_str_exact[src]
pub fn to_str_exact(num: f32, dig: uint) -> String
Converts a float to a string with exactly the number of provided significant digits
Arguments
- num - The float value
- digits - The number of significant digits
pub fn to_str_exact(num: f32, dig: uint) -> String
Converts a float to a string with exactly the number of provided 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).