Math blocks

16 blocks in the Math category.

Math Operations
Block
general_math_operations

Perform addition, subtraction, multiplication, division, modulo and exponent operations.

Math Operations (Float)
Block
float_math_operations

Perform addition, subtraction, multiplication, division, modulo and exponent operations with floating point numbers.

Round Number
Block
round_number

Round a number using a chosen method (round, floor, ceil, truncate) to a specified number of digits.

Absolute Value
Block
absolute_value_basic

Get the absolute value of a number.

Square Root
Block
square_root_basic

Get the square root (sqrt) of a number.

Logarithm
Block
logarithm_basic

Get the logarithm of a number with a specified base.

Factorial
Block
factorial_basic

Calculate the factorial of a number.

Random Number Generator
Block
random_number_generator_basic

Generate a random number using specified minimum and maximum values.

Passphrase Generator
Block
passphrase_generator

Generate a random passphrase with a specified number of words.

If Number is in Range
Condition
if_number_in_range

Check if a number is in a specified range.

If Number is Close to Other Number
Condition
if_number_close_to_other_number

Check if a number is close to another number within a specified tolerance.

If Value is Number
Condition
if_value_is_number

Check if a value is a number.

Hex to Int
Block
hex_to_int

Convert a hexadecimal number to an integer.

Int to Hex
Block
int_to_hex

Convert an integer to a hexadecimal number.

Percentage Math (Integer)
Block
percentage_math_integer

Add or subtract a percentage to/from an integer.

Percentage Math (Float)
Block
percentage_math_float

Add or subtract a percentage to/from a floating point number.