Minimum value
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
SYNTAX
<Number1>.min(<Number2>)
Returns either <Number1> or
<Number2>, whichever is
smaller.
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses .min to compare
the values of decimal1 and decimal2, and integer1 and integer2, and posts a message based on their size
relative to 5.0 and 8, respectively.
A sample Ruletest provides four examples, two using decimal inputs, and two using integers.