Flowdock
method

exponent

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - 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.

Show source
Register or log in to add new notes.