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

Method floor

basex-core/src/main/java/org/basex/query/value/item/Flt.java:92–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 }
91
92 @Override
93 public Flt floor() {
94 final float f = (float) Math.floor(value);
95 return f == value ? this : get(f);
96 }
97
98 @Override
99 public Flt round(final int prec, final RoundMode mode) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected