method
add
v2_5_5 -
Show latest stable
- Class:
BigDecimal
add(p1, p2)public
+
Add the specified value.
e.g.
c = a.add(b,n) c = a + b
digits |
If specified and less than the number of significant digits of the result, the result is rounded to that number of digits, according to BigDecimal.mode. |