Chapter Contents |
Previous |
Next |
ABS |
Category: | Mathematical |
Syntax | |
Arguments | |
Details | |
Examples |
Syntax |
ABS (argument) |
Details |
The ABS function returns a nonnegative number that is equal in magnitude to that of the argument.
Examples |
SAS Statements | Results |
---|---|
x=abs(2.4); |
2.4 |
x=abs(-3); |
3 |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.