BigDecimal

expect constructor(value: String)

Parameters

value

the String representation of this decimal number


expect constructor(mantissa: BigInteger, exponent: Int)

Create an instance of BigDecimal from a mantissa and exponent.

Parameters

mantissa

a BigInteger representing the significant digits of this decimal value

exponent

an Int representing the exponent of this decimal value

actual constructor(value: String)

A floating point decimal number with arbitrary precision.

Parameters

value

the String representation of this decimal number


actual constructor(mantissa: BigInteger, exponent: Int)

Create an instance of BigDecimal from a mantissa and exponent.

Parameters

mantissa

a BigInteger representing the significant digits of this decimal value

exponent

an Int representing the exponent of this decimal value

actual constructor(value: String)

A floating point decimal number with arbitrary precision.

Parameters

value

the String representation of this decimal number


actual constructor(mantissa: BigInteger, exponent: Int)

Create an instance of BigDecimal from a mantissa and exponent.

Parameters

mantissa

a BigInteger representing the significant digits of this decimal value

exponent

an Int representing the exponent of this decimal value