Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
asBigDecimal()
The item's value as a
BigDecimal . |
java.lang.Float |
asFloat()
The item's value as a
Float . |
float |
asPrimitiveFloat()
The item's value as a primitive float
value.
|
asInputStream,
asReader,
getItemType,
isCached,
writeTo,
writeTo
asString,
getValueType
java.lang.Float asFloat()
Float
. Some
precision may be lost by casting to the Java type.
asBigDecimal()
float asPrimitiveFloat()
asBigDecimal()
java.math.BigDecimal asBigDecimal()
BigDecimal
.
This value may preserve more precision than asFloat()
or
asPrimitiveFloat()
.
Copyright © 2023 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
developer.marklogic.com