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

Method addDec

basex-core/src/main/java/org/basex/query/expr/CalcOpt.java:267–267  ·  view source on GitHub ↗

Add, two decimals. @param item1 first item @param item2 second item @param info input info @return result @throws QueryException query exception

(final Item item1, final Item item2, final InputInfo info)

Source from the content-addressed store, hash-verified

265 * @throws QueryException query exception
266 */
267 static Dec addDec(final Item item1, final Item item2, final InputInfo info)
268 throws QueryException {
269 return Dec.get(item1.dec(info).add(item2.dec(info)));
270 }

Callers 1

evalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected