| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
asBigDecimal()
The item's value as a
BigDecimal. |
Double |
asDouble()
The item's value as a
Double. |
double |
asPrimitiveDouble()
The item's value as a primitive double value.
|
asInputStream, asReader, getItemType, isCached, writeTo, writeToasString, getValueTypeDouble asDouble()
Double. Some precision may be lost by casting to the
Java type.asBigDecimal()double asPrimitiveDouble()
asBigDecimal()BigDecimal asBigDecimal()
BigDecimal. This value may preserve more precision
than asDouble() or asPrimitiveDouble().Copyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com