ballerina/lang.decimal : 1.0.0

Module Overview

The lang.decimal module corresponds to basic type decimal.

Functions

[8]

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.

round

Rounds a decimal to the closest integral value.

sum

Returns the sum of zero or more decimal values.