val1 requiredThe first value to compare. Compared numerically when both values look like numbers, otherwise as text. Leading and trailing spaces are trimmed.
val2 requiredThe second value to compare against the first. Same numeric-or-text rule and trimming as val1.
{compare:7:7}
{compare:5:3}
{compare:3:5}
{ifeq:{compare:5:3}:G:greater:L:less:E:equal}
{compare:100:20}
{compare:apple:banana}
{switch({compare:2024-03-15:2024-01-01})G:later:L:earlier:same}