public static interface FloatingDecimal.BinaryToASCIIConverter
String
representation.| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(Appendable buf)
Appends a floating point value to an
Appendable. |
boolean |
decimalDigitsExact()
Indicates whether the binary to ASCII conversion was exact.
|
boolean |
digitsRoundedUp()
Indicates whether the value was rounded up during the binary to ASCII conversion.
|
int |
getDecimalExponent()
Retrieves the decimal exponent most closely corresponding to this value.
|
int |
getDigits(char[] digits)
Retrieves the value as an array of digits.
|
boolean |
isExceptional()
Indicates whether the value is either infinite or not a number.
|
boolean |
isNegative()
Indicates the sign of the value.
|
String |
toJavaFormatString()
Converts a floating point value into an ASCII
String. |
void appendTo(Appendable buf)
Appendable.buf - The Appendable to receive the value.boolean decimalDigitsExact()
true if any only if the conversion was exact.boolean digitsRoundedUp()
true if and only if the value was rounded up.int getDecimalExponent()
int getDigits(char[] digits)
digits - The digit array.boolean isExceptional()
true if and only if the value is NaN or infinite.boolean isNegative()
value < 0.0.String toJavaFormatString()
String.String.