parseStringWithMode

fun parseStringWithMode(floatingPointString: String, decimalMode: DecimalMode? = null): BigDecimal

Parse BigDecimal from a supplied string. The string can be in either of two different formats:

  • Scientific i.e. 1.234E-9

or

  • Expanded ie 0.000000001234

Return

Parsed string

Throws

if parsing fails