Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Maximum value

  • Last Updated: October 26, 2026
  • 1 minute read
    • Corticon.js
    • Version 2.4
    • Documentation

SYNTAX

<Number1>.max(<Number2>)

Returns either <Number1> or <Number2>, whichever is greater.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

The following Rulesheet uses .max 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 decimal1 and decimal2, and two using integer1 and integer2 as input data.

Alert