Table of contents
TOC
Collapse the table of content
Expand the table of content

Value.Compare

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

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.

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

Arguments

ArgumentDescription
value1The left value to compare.
value2The right value to compare.
optional precisionPrecision 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.

© 2018 Microsoft