Formerly Morgan-Stanley/morphir-elm. Search finds this package by either name.
Converts an Int to a Decimal
Converts a Float to a Decimal
Converts a String to a Maybe Decimal. The string shall be in the format [<sign>]<numbers>[.<numbers>][e<numbers>]
Converts an Int to a Decimal that represents n hundreds.
Converts an Int to a Decimal that represents n thousands
Converts an Int to a Decimal that represents n millions.
Converts an Int to a Decimal that represents n tenths.
Converts an Int to a Decimal that represents n hundredths.
Converts an Int to a Decimal that represents n millionth.
Converts an Int to a Decimal that represents n basis points (i.e. 1/10 of % or a ten-thousandth
Converts a Decimal to a String
Converts a Decimal to a Float
Addition
Subtraction
Changes the sign of a Decimal
Multiplication
Truncates the Decimal to the specified decimal places
Rounds the Decimal to the specified decimal places
Greater than
Greater than or equals
Equals
Not equals
Less than
Less than or equals
Compares two Decimals
Absolute value (sets the sign as positive)
The number 0
The number 1
The number -1
The Decimal data type