bigdecimal
bigdecimal copied to clipboard
Method BigDecimal: precision too large. (ArgumentError)
Doc for method BigDecimal says:
- ArgumentError:: If +initial+ is a Float, and the +digits+ is larger than
-
Float::DIG + 1, this exception is raised.
Is this true for other methods that have digits/ndigits?
No.
Do you know why the exception occurs in this condition?
No.
Do you know why the exception occurs in this condition?
I do not know.