public class StandardDecimaliser extends Object implements Decimaliser
MaximumPrecision with precision 18
and falls back to UsesBigDecimal for large numbers.| Modifier and Type | Field and Description |
|---|---|
static StandardDecimaliser |
STANDARD
Singleton instance of StandardDecimaliser.
|
| Constructor and Description |
|---|
StandardDecimaliser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
toDecimal(double value,
DecimalAppender decimalAppender)
|
boolean |
toDecimal(float value,
DecimalAppender decimalAppender)
|
public static final StandardDecimaliser STANDARD
public boolean toDecimal(double value,
DecimalAppender decimalAppender)
toDecimal in interface Decimaliservalue - 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 appendedpublic boolean toDecimal(float value,
DecimalAppender decimalAppender)
toDecimal in interface Decimaliservalue - 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.