public interface Decimaliser
NaN, infinity and negative zero values are not converted and should cause
the method to return false.
DecimalAppender| Modifier and Type | Method and Description |
|---|---|
boolean |
toDecimal(double value,
DecimalAppender decimalAppender)
Convert
value to a decimal representation and append it. |
boolean |
toDecimal(float value,
DecimalAppender decimalAppender)
Convert
value to a decimal representation and append it. |
boolean toDecimal(double value,
DecimalAppender decimalAppender)
value to a decimal representation and append it.value - the double value to serialise; must be finite and not negative zerodecimalAppender - the target receiving sign, mantissa and exponenttrue if the value could be represented and appendedboolean toDecimal(float value,
DecimalAppender decimalAppender)
value to a decimal representation and append it.value - the float value to serialise; must be finite and not negative zerodecimalAppender - the target receiving sign, mantissa and exponenttrue if the value could be represented and appendedCopyright © 2026 Chronicle Software Ltd. All rights reserved.