add

open override fun add(other: BigDecimal): BigDecimal

Add two BigDecimal and return result in a new instance of BigDecimal. Default decimal mode will be used.

Return

BigDecimal containing result of the operation

Parameters

other

BigDecimal (addend)


fun add(other: BigDecimal, decimalMode: DecimalMode? = null): BigDecimal

Add two BigDecimal and return result in a new instance of BigDecimal.

Return

BigDecimal containing result of the operation

Parameters

other

BigDecimal (addend)