Browse docsmath.min
On this page
API method

math.min

Returns the lower value of two numeric expressions.

Syntax

Atlas Script
math.min(expression1, expression2)

Parameters

expression1
First numeric expression compared by this math operation.
expression2
Second numeric expression compared by this math operation.

Return value

Returns the lower value of two numeric expressions.

Remarks

Returns the lower value of two numeric expressions.

Examples

Usage pattern
// Replace expression1, expression2 with values described above.
math.min(expression1, expression2);
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.