le

From RPTools Wiki
Revision as of 22:36, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page le to Le without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

le() Function

This function compares provided numeric values and returns true(1) if the first is less than or equal to the second and the second less than or equal to the third and so on. If any comparison fails, the function returns false.

Usage

le(n1, n2, ...)

Parameters

  • n1 - Number
  • n2+ - Number

Example

[r: le(1,2)]
[r: le(-1,1,2)]
[r: le(0,1,1)]

Returns:

1
1
1

See Also