Converts an Int to a Decimal, but specifying the exponent
Converts a String to a Maybe Decimal. The string shall be in the format [<sign>]<numbers>[.<numbers>][e<numbers>]
Converts an BigInt to a Decimal
Converts an BigInt to a Decimal
Fast and dirty division. Don't expect too much precision from this division. Dividing by zero is bad, and Nothing will be returned.
Gets the specified digit from a Decimal. The digits are: 0 -> units 1 -> tens 2 -> hundreds and so on -1 -> tenths -2 -> hundredths and so on
The Decimal data type It is represented as mantissa * 10 ^ exponent