Rounding
Decimal's rounding modes, inspired by com.ionspin.kotlin.bignum.decimal.RoundingMode.
Entries
Rounds away from zero.
Rounds towards zero (truncation).
Rounds towards nearest value at the target's scale, using away from zero as tiebreaker.
Rounds towards nearest value at the target's scale, using towards zero as a tiebreaker.
Rounds towards nearest value at the target's scale, using towards infinity as tiebreaker.
Rounds towards the nearest value at the target's scale, using towards negative infinity as a tiebreaker.
Rounds towards the nearest even value at the target's scale.
Rounds towards the nearest odd value at the target's scale.
Prohibits rounding.
Companion properties
Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.
Companion functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.