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

Method textDbl

basex-core/src/main/java/org/basex/data/Data.java:492–492  ·  view source on GitHub ↗

Returns a text (text, comment, pi, document) or attribute value as double value. Double#NaN is returned if the input is no valid double. @param pre PRE value @param text text/attribute flag @return numeric value

(int pre, boolean text)

Source from the content-addressed store, hash-verified

490 * @return numeric value
491 */
492 public abstract double textDbl(int pre, boolean text);
493
494 /**
495 * Returns the byte length of a (possibly compressed) text (text, comment, pi, document).

Callers 2

dblMethod · 0.45
idRangeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected