method

exponent

v1_9_1_378 - Show latest stable - Class: BigDecimal
exponent()
public

Returns the exponent of the BigDecimal number, as an Integer.

If the number can be represented as 0.xxxxxx*10**n where xxxxxx is a string of digits with no leading zeros, then n is the exponent.