|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XSDouble
XDM type: xs:double.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.marklogic.xcc.types.XdmItem |
|---|
asInputStream, asReader, getItemType, isCached, writeTo, writeTo |
| Methods inherited from interface com.marklogic.xcc.types.XdmValue |
|---|
asString, getValueType |
| Method Detail |
|---|
Double 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().
|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com