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

Method floatValue

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

Gets the value of this Ion float as a Java float value. @return the float value. @throws NullValueException if this.isNullValue() .

()

Source from the content-addressed store, hash-verified

47 * @throws NullValueException if <code>this.isNullValue()</code>.
48 */
49 public float floatValue()
50 throws NullValueException;
51
52 /**

Callers 14

testFloatsMethod · 0.95
checkNullDecimalMethod · 0.65
modifyDecimalMethod · 0.65
testNegativeZeroMethod · 0.65
checkNegativeZeroMethod · 0.65
checkPositiveZeroMethod · 0.65
checkZeroMethod · 0.65
checkNullFloatMethod · 0.65
modifyFloatMethod · 0.65
checkSpecialMethod · 0.65
checkDecimalMethod · 0.65
floatValueMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 11

testFloatsMethod · 0.76
checkNullDecimalMethod · 0.52
modifyDecimalMethod · 0.52
testNegativeZeroMethod · 0.52
checkNegativeZeroMethod · 0.52
checkPositiveZeroMethod · 0.52
checkZeroMethod · 0.52
checkNullFloatMethod · 0.52
modifyFloatMethod · 0.52
checkSpecialMethod · 0.52
checkDecimalMethod · 0.52