Mathematics
With the "Math" blocks you can set values and perform various calculations.
![block](../pictures/blocks/maths/maths-0.png)
number
With the value block you can transfer numbers to another block. In this block you can only enter numbers, letters or special characters are not accepted.![block](../pictures/blocks/maths/maths-1.png)
Calculation
With this block you can add, subtract, multiply, divide or potentiate numbers. This block can only be used with other blocks whose input values are numbers (e.g. the value block).![block](../pictures/blocks/maths/maths-2.png)
Mathematical functions
With this block you can calculate some mathematical functions. This block also only works with another block whose input value is a number.![block](../pictures/blocks/maths/maths-3.png)
constants
With this block you can add some mathematical constants.![block](../pictures/blocks/maths/maths-4.png)
Rise "Element" by
With this block you can increase the value of a numeric variable by a certain amount.![block](../pictures/blocks/maths/maths-5.png)
laps
With this block you can round values. During rounding, the decimal places are set to 0. Depending on the size of the decimal places, the values are automatically rounded up or down. However, you can also set that the decimal places are always rounded up or down.![block](../pictures/blocks/maths/maths-6.png)
Limit
This block ensures that certain limit values are not exceeded. Three values must be entered:- The value to be checked
- The lower limit
- The upper limit
![block](../pictures/blocks/maths/maths-7.png)
rest of
This block does a division and spends the rest on you.![block](../pictures/blocks/maths/maths-8.png)
Number properties
You can use this block to check whether a entered number has a certain property.![block](../pictures/blocks/maths/maths-9.png)
Trigonometric functions
With this block you can calculate sine, cosine and tangent as well as the corresponding subfunctions. Note that the input values are in radians and not in degrees.![block](../pictures/blocks/maths/maths-10.png)
Distributed value (mapping)
With this block you can transfer values from one value range to another. To do this, you must enter a value to be distributed and a new value range.![block](../pictures/blocks/maths/maths-11.png)
Random number
This block determines a random number between 0.0 and 1.0.![block](../pictures/blocks/maths/maths-12.png)