Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
asBigDecimal()
The item's value as a
BigDecimal . |
java.lang.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,
writeTo
asString,
getValueType
java.lang.Double asDouble()
Double
. Some
precision may be lost by casting to the Java type.
asBigDecimal()
double asPrimitiveDouble()
asBigDecimal()
java.math.BigDecimal asBigDecimal()
BigDecimal
.
This value may preserve more precision than
asDouble()
or
asPrimitiveDouble()
.
Copyright © 2023 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
developer.marklogic.com