Skip to content

Math Min

The math::min function returns the smallest number from a set of input numbers.

Syntax

math::min(<number1>, <number2>, ...)

Parameters

  • number1, number2, ...: A set of numbers from which the minimum value will be determined.

Returns

  • Number: The smallest number among the inputs.

Example

Try it out below!
math::min(3, 7, 1, 5)

This function is useful for finding the lowest value in a dataset or performing comparative calculations.