Companion

object Companion

Contains class-level declarations for the Decimal type.

Functions

Link copied to clipboard

Returns a Decimal representing the specified value.

Link copied to clipboard

Returns a Decimal representing the specified value.

Link copied to clipboard

Returns a Decimal representing the number described by value, or throws NumberFormatException if value doesn't represent a decimal number.

Link copied to clipboard
fun parseOrNull(value: String): Decimal?

Returns a Decimal representing the number described by value, or returns null if value doesn't represent a decimal number.