min( first, second )

Returns the minimum of two numbers.

The first number.
The second number.

Examples Edit

print(min(40, 20))    -- 20

print(min(2.7, -3.5)) -- -3.5

print(min(8, 8))      -- 8

See also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.