Class Decimal
java.lang.Object
org.mozilla.javascript.dtoa.Decimal
This class formats a decimal number into a string representation and stores the result in a
buffer. It is highly optimized for the case of formatting a double and only works if the number
has a maximum of 17 digits of precision.
Based on code by Guilietti: https://github.com/c4f7fcce9cb06515/Schubfach/blob/3c92d3c9b1fead540616c918cdfef432bca53dfa/todec/src/math/FloatToDecimal.java
-
Field Summary
Fields -
Method Summary
-
Field Details
-
MAX_CHARS
public static final int MAX_CHARS- See Also:
-
-
Method Details
-
toString
-