Next:
Float-coercion
, Previous:
Float-built ins
, Up:
Float
1.77.6 Float: coercing
asExactFraction
Convert the receiver into a fraction with optimal approximation, but with usually huge terms.
asFraction
Convert the receiver into a fraction with a good (but undefined) approximation
truncated
Convert the receiver to an Integer. Only used for LargeIntegers, there are primitives for the other cases.