Returns the sum of two BigFloat values.
You can also use the + operator on BigFloat values.
BigFloat.add(a, b, env?)
a
The first summand BigDecimal.
b
The second summand BigDecimal.
env optional
The floating point environment. If not specified, the current global environment is used. See BigFloatEnv.
A new BigFloat.
123.456l + 0.6l
124.05599999999999999999999999999999
BigFloat.add(123.456l, 0.6l)
124.05599999999999999999999999999999
BigFloat.add(123.456l, 0.6l, new BigFloatEnv(16))
124.056640625