Value.Compare

About

Returns 1, 0, or -1 based on value1 being greater than, equal to, or less than the value2. An optional comparer function can be provided.

Syntax

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

Arguments

Argument Description
value1 The left value to compare.
value2 The right value to compare.
optional precision Precision of comparison.

Arithmetic operations

The built-in arithmetic operators (+, -, *, /) use Double Precision. The following library functions can be used to request these operations using a specific precision model.