of

fun of(value: Int): Decimal(source)
fun of(value: Long): Decimal(source)

Returns a Decimal equal to the integer value.

Throws ArithmeticException if value is outside the representable range.