Advanced math: a collection of built-in functions

By combining mathematical operators, you can create practically any type of mathematical formula. Because some mathematical formulas are cumbersome, the integration engine provides some built-in functions for performing more advanced calculations. The following table displays some of those built-ins:

Function Description

abs

Computes the absolute value of its argument.
Operates both on class R and I argument, the value returned has the same class as the function argument.

remainder

Computes the remainder of a division of whole numbers.

round

Turns a floating-point number into a whole number using the usual rounding technique (2.1 becomes 2 and 2.78 becomes 3).


Operates only on class R and always returns a class I value.

ceil

Returns the lowest integer which is still greater than the argument.


Operates on class R and returns a class I value.

floor

Returns the highest integer which is still lower than
the argument.


Operates on class R and returns a class I value.

integerPortion

Returns integer part of a specified floating-point number.


Operates only on class R and always return class I.

decimalPortion

Returns decimal part of a specified floating-point number.


Operates only on class R and always return class I.

Related Links