Converts the text of this GPathResult to a BigDecimal object. @return the GPathResult, converted to a BigDecimal
()
| 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. |
nothing calls this directly
no test coverage detected