lt: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page lt to Lt without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page Lt to lt: Converting page titles to lowercase)
(No difference)

Revision as of 23:40, 9 February 2023

lt() Function

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

Usage

lt(n1, n2, ...)

Parameters

  • n1 - Number
  • n2+ - Number

Example

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

Returns:

1
1
0

See Also