MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / bigDecimalValue

Method bigDecimalValue

src/main/java/com/amazon/ion/IonNumber.java:49–49  ·  view source on GitHub ↗

Gets the value of this Ion number as a BigDecimal. This method will throw an exception for non-null, non-numeric values. It's recommended to call #isNumericValue() before calling this method. Negative zero is supported by IonDecimal and IonFloat, but not b

()

Source from the content-addressed store, hash-verified

47 * represent those values.
48 */
49 public BigDecimal bigDecimalValue();
50
51 /**
52 * Determines whether this value is numeric. Returns true if this value

Callers 2

testBigDecimalsMethod · 0.95
testBigDecimalValueMethod · 0.95

Implementers 3

IonFloatLitesrc/main/java/com/amazon/ion/impl/lite
IonIntLitesrc/main/java/com/amazon/ion/impl/lite
IonDecimalLitesrc/main/java/com/amazon/ion/impl/lite

Calls

no outgoing calls

Tested by 2

testBigDecimalsMethod · 0.76
testBigDecimalValueMethod · 0.76