Abs(), Sign()
These two functions let you take the sign off a number. Usage | nAbsoluteValue = ABS( nValue ) nSign = SIGN( nValue ) |
Example | ? ABS(37) && returns 37 ? ABS(-37) && returns 37 ? SIGN(37) && returns 1 ? SIGN(-37) && returns -1 ? SIGN(0) && returns 0 |
See Also | Int() |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.