Enum pot::format::Float [−][src]
Expand description
A floating point number that can safely convert between other number types using compile-time evaluation when possible.
Variants
F64(f64)
An f64 value.
Tuple Fields of F64
0: f64
F32(f32)
An f32 value.
Tuple Fields of F32
0: f32
Implementations
Returns this number as an f32, if it can be done without losing precision.
Returns this number as an Integer
, if the stored value has no fractional part.