Category talk:Wren-big: Difference between revisions
→Source code: Rewrote BigDec.toFloat method which was buggy previously.
(→Source code: Rewrote BigRat.toFloat and toMixedString methods which were buggy previously.) |
(→Source code: Rewrote BigDec.toFloat method which was buggy previously.) |
||
Line 2,264:
// Converts the current instance to a Num where possible.
// Will probably lose accuracy for larger numbers.
toFloat {
// Converts the current instance to an integer where possible with any fractional part truncated.
|