Returns a value of 1, 0, or -1 depending on whether value1 is greater than, equal to, or less than value2. It is possible to include a comparer function if desired.
Syntax
Value.Compare(value1 as any, value2 as any, optional precision as nullable number) as number
About
Returns a value of 1, 0, or -1 depending on whether value1 is greater than, equal to, or less than value2. It is possible to include a comparer function if desired.