BigDecimal

expect constructor(mantissa: BigInteger, exponent: Int)

Create an instance of BigDecimal from a mantissa and exponent.

Parameters

mantissa

a BigInteger representing the mantissa of this big decimal

exponent

an Int representing the exponent of this big decimal


expect constructor(value: String)

Parameters

value

the String representation of this decimal number

actual constructor(mantissa: BigInteger, exponent: Int)
actual constructor(value: String)