MCPcopy Create free account
hub / github.com/BaseXdb/basex / dec

Method dec

basex-core/src/main/java/org/basex/query/value/item/Item.java:129–131  ·  view source on GitHub ↗

Returns a decimal representation of the value. @param ii input info (can be null) @return decimal value @throws QueryException query exception

(final InputInfo ii)

Source from the content-addressed store, hash-verified

127 * @throws QueryException query exception
128 */
129 public BigDecimal dec(final InputInfo ii) throws QueryException {
130 return Dec.parse(string(ii), ii, true);
131 }
132
133 /**
134 * Returns an integer (long) representation of the value.

Callers 4

itemMethod · 0.95
decMethod · 0.95
compareMethod · 0.95
castMethod · 0.95

Calls 2

parseMethod · 0.95
stringMethod · 0.95

Tested by

no test coverage detected