method
new
v1_9_1_378 -
Show latest stable
- Class:
BigDecimal
new(p1, p2 = v2)public
Create a new BigDecimal object.
initial |
The initial value, as a String. Spaces are ignored, unrecognized characters terminate the value. |
digits |
The number of significant digits, as a Fixnum. If omitted or 0, the number of significant digits is determined from the initial value. |
The actual number of significant digits used in computation is usually larger than the specified number.