SIGN Function
Last modified: March 09, 2015
Applies to: Office 2013 | Visio 2013
In this article
Syntax
Remarks
Example 1
Example 2
Example 3
Example 4
Returns a value that represents the sign of a number.
The SIGN function returns 1 if number is positive, 0 if number is zero, or -1 if number is negative.
Specifyin a fuzz value helps avoid floating-point roundoff errors when a calculation is almost zero. If you do not specify a fuzz value, Visio uses 1E-9 (0.000000001). You may want to supply a different value when you scale drawings or when you want an exact comparison.