|
XCC/J 4.1-11 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XSFloat
XDM type: xs:float.
| Method Summary | |
|---|---|
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. |
| 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 |
|---|
Float 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().
|
XCC/J 4.1-11 | ||||||||
| 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