# Math blocks

> 16 blocks in the Math category.

[All blocks](https://inventor.bot/docs/reference/blocks.md)

| Block | ID | Description |
| --- | --- | --- |
| [Math Operations](https://inventor.bot/docs/reference/blocks/math/general-math-operations.md) | `general_math_operations` | Perform addition, subtraction, multiplication, division, modulo and exponent operations. |
| [Math Operations (Float)](https://inventor.bot/docs/reference/blocks/math/float-math-operations.md) | `float_math_operations` | Perform addition, subtraction, multiplication, division, modulo and exponent operations with floating point numbers. |
| [Round Number](https://inventor.bot/docs/reference/blocks/math/round-number.md) | `round_number` | Round a number using a chosen method (round, floor, ceil, truncate) to a specified number of digits. |
| [Absolute Value](https://inventor.bot/docs/reference/blocks/math/absolute-value-basic.md) | `absolute_value_basic` | Get the absolute value of a number. |
| [Square Root](https://inventor.bot/docs/reference/blocks/math/square-root-basic.md) | `square_root_basic` | Get the square root (sqrt) of a number. |
| [Logarithm](https://inventor.bot/docs/reference/blocks/math/logarithm-basic.md) | `logarithm_basic` | Get the logarithm of a number with a specified base. |
| [Factorial](https://inventor.bot/docs/reference/blocks/math/factorial-basic.md) | `factorial_basic` | Calculate the factorial of a number. |
| [Random Number Generator](https://inventor.bot/docs/reference/blocks/math/random-number-generator-basic.md) | `random_number_generator_basic` | Generate a random number using specified minimum and maximum values. |
| [Passphrase Generator](https://inventor.bot/docs/reference/blocks/math/passphrase-generator.md) | `passphrase_generator` | Generate a random passphrase with a specified number of words. |
| [If Number is in Range](https://inventor.bot/docs/reference/blocks/math/if-number-in-range.md) | `if_number_in_range` | Check if a number is in a specified range. |
| [If Number is Close to Other Number](https://inventor.bot/docs/reference/blocks/math/if-number-close-to-other-number.md) | `if_number_close_to_other_number` | Check if a number is close to another number within a specified tolerance. |
| [If Value is Number](https://inventor.bot/docs/reference/blocks/math/if-value-is-number.md) | `if_value_is_number` | Check if a value is a number. |
| [Hex to Int](https://inventor.bot/docs/reference/blocks/math/hex-to-int.md) | `hex_to_int` | Convert a hexadecimal number to an integer. |
| [Int to Hex](https://inventor.bot/docs/reference/blocks/math/int-to-hex.md) | `int_to_hex` | Convert an integer to a hexadecimal number. |
| [Percentage Math (Integer)](https://inventor.bot/docs/reference/blocks/math/percentage-math-integer.md) | `percentage_math_integer` | Add or subtract a percentage to/from an integer. |
| [Percentage Math (Float)](https://inventor.bot/docs/reference/blocks/math/percentage-math-float.md) | `percentage_math_float` | Add or subtract a percentage to/from a floating point number. |