Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The value 1, with a _scale of 0.

Link copied to clipboard

The value 0.5, with a _scale of 1.

Link copied to clipboard

The value 0.1, with a _scale of 1.

Link copied to clipboard
Link copied to clipboard

The value 10, with a _scale of 0.

Link copied to clipboard
Link copied to clipboard

The value 0, with a _scale of 0.

Functions

Link copied to clipboard
fun of(intVal: BigInteger, scale: Int, prec: Int): BigDecimal

Translates a double into a BigDecimal, using the double's canonical string representation provided by the Double.toString method.

fun of(unscaledVal: Long, scale: Int): BigDecimal

Translates a long unscaled value and an int _scale into a BigDecimal.

fun of(unscaledVal: Long, scale: Int, prec: Int): BigDecimal

Translates a long value into a BigDecimal with a _scale of zero.