Math

Add

Takes two values as input and performs an addition. No specification of the data type in order to work for multiple data types (Integer, Float, Double, etc.).

Syntax

Add ( Augend , Addend )

Parameters

Augend First part of the addition. Type: Any

Addend Second part of the addition. Type: Any

Return Type

Any

Ceil

This element always rounds up a number, even when used on a negative number

Syntax

Ceil ( X )

Parameters

X This value receives a double or decimal type Type: Double

Return Type

Double

Divide

Divides the Dividend value with the Divisor value No specification of the data type in order to work for multiple data types (Integer, Float, Double, ..).

Syntax

Divide ( Dividend , Divisor )

Parameters

Dividend First part of the division. Type: Any

Divisor Second part of the division. Mustn't be zero. Type: Any

Return Type

Any

Increment

Increments the value of a Variable with the given Name.

Syntax

Increment ( Name )

Parameters

Name Name of the variable which will be incremented. Type: String

Return Type

Int

Modulo

Returns the reminder of the division. No specification of the data type in order to work for multiple data types (Integer, Float, Double, ..).

Syntax

Modulo ( Dividend , Divisor )

Parameters

Dividend First part of the division. Type: Any

Divisor Second part of the division. Mustn't be zero. Type: Any

Return Type

Int

Multiply

Multiplies two values.

Syntax

Multiply ( Multiplicand , Multiplier )

Parameters

Multiplicand First factor of the multiplication. Type: Any

Multiplier Second factor of the multiplication. Type: Any

Return Type

Any

Pow

Returns a specified number raised to the specified power.

Syntax

Pow ( X , Y )

Parameters

X A double-precision floating-point number to be raised to a power. Type: Double

Y A double-precision floating-point number that specifies a power. Type: Double

Return Type

Double

Round

Rounds a value to the nearest integer or to the specified number of fractional digits.

Syntax

Round ( Value [, Digits] )

Parameters

Value A double-precision floating-point number to be rounded Type: Double

Digits (optional) The number of fractional digits in the return value. Type: Int

Return Type

Double

Square Root

Returns the square root of a specified number.

Syntax

Square Root ( X )

Parameters

X The number whose square root is to be found. Type: Double

Return Type

Double

Subtract

Takes two values as input and performs a subtraction. No specification of the data type in order to work for multiple data types (Integer, Float, Double, ..).

Syntax

Subtract ( Minuend , Subtrahend )

Parameters

Minuend First part of the subtraction. Type: Any

Subtrahend Second part of the subtraction. Type: Any

Return Type

Any

Last updated