( ) + ( )
Adds two numbers.
Adds two numbers.
Subtracts the second number from the first.
Multiplies two numbers.
Divides the first number by the second.
Picks a random number between the two values (decimal if one of them is).
True if the first value is greater.
True if the first value is less.
True if the values are equal (case doesn't matter).
True only if both conditions are true.
True if at least one condition is true.
Flips true and false.
Joins two texts into one.
Gets a letter by its position (1 = first).
How many letters the text has.
True if the text contains the other.
The remainder of a division. Great to check even numbers (mod 2 = 0).
Rounds to the nearest whole number.
Math functions: absolute value, square root, sine, cosine, logs…
Power: 2 to the 3rd = 8.
The smaller or larger of two numbers.
Keeps the number inside a range (great for health 0 to 100).
Converts a value from one range to another (e.g. sensor 0–1023 to 0–100).
Rounds keeping some decimal places.
More functions: arcsin/cos/tan, sign, log 2, integer part, factorial…
The direction (Scratch style) from one point to another.
The distance between two points.
Converts numbers between decimal, binary, hexadecimal and octal.
Compares with not equal (≠), greater or equal (≥) and less or equal (≤).
True if the number is between the two limits.
True when only one of the conditions is true.
Tests for even, odd, prime, integer, number or empty text.
Picks one of two values depending on the condition.
Picks a random item from a list written as text (e.g. rock,paper,scissors).
Gets part of the text, from letter A to letter B.
Where a text appears inside another (0 = not found).
Replaces every occurrence of a text with another.
UPPERCASE, lowercase, Title Case, trimmed or reversed.
Repeats a text several times.
Gets part N of a text split by comma (or another separator).
How many parts the text has when split.
True if the text starts (or ends) with another.
Code of a letter (A = 65) or letter of a code.