The Math operators with their respective blocks are as follows:
Number Input:
This block represents a number when it is given as input.
Input
Output
Block Layout
Generated Code
Number
Number
0
Arithmetic Operator:
It is used to perform the arithmetic operations: Addition (+), Subtraction (-), Multiplication (x), Division, Power (^), Reminder.
Input
Output
Block Layout
Generated Code
Variable or number for all
Choose the type of arithmetic operation
Number
1 + 1
1 - 1
1 * 1
1 / 1
Math.pow(1, 1)
64 % 10
Advance Operator:
Advance Operator performs the following Operations: Square Root,Absolute, Negative, Round Of up or down, Random Number Generator, Even/Odd, Random Fraction Number.
Input
Output
Block Layout
Generated Code
Variable or number for all
Choose the type of advance operations.
Returns The number for all except number check block
Returns The boolean (true or false) for number check block