Module : lang.decimal

Version : 1.0.0

Module Overview

This module provides lang library operations on decimal values defined by the language specification 2020R1.

Functions

abs
I

IEEE abs operation.

ceiling
I

Rounds a decimal up to the closest integral value.

floor
I

Rounds a decimal down to the closest integral value.

fromString
I

Return the decimal value represented by s.

max
I

Maximum of one or more decimal values.

min
I

Minimum of one or more decimal values

round
I

Round a decimal to the closest integral value.

sum
I

Sum of zero or more decimal values.