MCPcopy Index your code
hub / github.com/apache/groovy / toBigDecimal

Method toBigDecimal

src/main/java/groovy/util/Node.java:869–874  ·  view source on GitHub ↗

Converts the text of this GPathResult to a BigDecimal object. @return the GPathResult, converted to a BigDecimal

()

Source from the content-addressed store, hash-verified

867 * @return the GPathResult, converted to a <code>BigDecimal</code>
868 */
869 public BigDecimal toBigDecimal() {
870 if(textIsEmptyOrNull()){
871 return null;
872 }
873 return StringGroovyMethods.toBigDecimal((CharSequence)text());
874 }
875
876 /**
877 * Converts the text of this GPathResult to a BigInteger object.

Callers

nothing calls this directly

Calls 3

textIsEmptyOrNullMethod · 0.95
toBigDecimalMethod · 0.95
textMethod · 0.95

Tested by

no test coverage detected