ballerina/lang.decimal : 0.0.0
Module overview
The lang.decimal
module corresponds to the decimal
basic type.
Functions
[9]
abs | Returns the IEEE absolute value of a decimal value. |
ceiling | Rounds a decimal up to the closest integral value. |
floor | Rounds a decimal down to the closest integral value. |
fromString | Returns the decimal value represented by a string. |
max | Returns the maximum of one or more decimal values. |
min | Returns the minimum of one or more decimal values. |
quantize | IEEE quantize operation. |
round | Round a decimal to a specified number of digits. |
sum | Returns the sum of zero or more decimal values. |