Share via


Value.Compare

Syntax

Value.Compare(
    value1 as any,
    value2 as any,
    optional precision as nullable number
) as number

About

Returns -1, 0, or 1 based on whether the first value is less than, equal to, or greater than the second.