Closed cactusdualcore closed 2 years ago
Other crates may expect numbers of types f32 or f64. Does a way exist to convert a Fraction to a f64 without using a string as an intermediate representation?
f32
f64
Fraction
Found ToPrimitive implementation
ToPrimitive
Other crates may expect numbers of types
f32
orf64
. Does a way exist to convert aFraction
to af64
without using a string as an intermediate representation?