MATH
Last updated
Last updated
Round
For fractional numbers, this function rounds the value to the nearest integer. The incoming data must be in float format.
Ceil
This function always rounds fractional numbers up to the nearest integer.
Max
This function outputs the larger of two numbers. Blocks with trigger functions perform the computation when manually triggered by sending a "1" to this input.
Min
This function outputs the smaller of the two numbers provided as input.
Summation
This function performs addition, summing the numbers provided at its input and outputting the result.
Subtraction
This function performs a subtraction operation, subtracting the second number from the first and outputting the result.
Multiply
This function performs a multiplication operation, multiplying the input numbers and outputting the result.
Divide
This function performs a division operation, dividing the input number by the specified value and outputting the result.
Mod
This block performs a modulus operation, dividing the input number by the specified value and outputting the remainder.
Left Shift
This operation shifts the binary representation of a number 1 bit to the left, effectively multiplying the integer value by 2.
Right Shift
This operation shifts the binary representation of a number 1 bit to the right, effectively dividing the integer value by 2.
Average
This block calculates the arithmetic average by summing two or more input values and then dividing the total by the pcs. of numbers.