| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
asBigDecimal()
The item's value as a
BigDecimal. |
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, writeToasString, getValueTypeFloat asFloat()
Float. Some precision may be lost by casting to the
Java type.asBigDecimal()float asPrimitiveFloat()
asBigDecimal()BigDecimal asBigDecimal()
BigDecimal. This value may preserve more precision
than asFloat() or asPrimitiveFloat().Copyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com