ge: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{MacroFunction |name=ge |proposed=false |trusted=false |description= This function compares provided numeric values and returns {{code|true(1)}} if the first is greater than...")
(No difference)

Revision as of 22:27, 22 May 2020

ge() Function

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

Usage

ge(n1, n2, ...)

Parameters

  • n1 - Number
  • n2+ - Number

Example

[r: ge(2,-3)]
[r: ge(4,3,2)]
[r: ge(5,1,1)]

Returns:

1
1
1

See Also