| Product | Release |
|---|---|
| Base SAS | 9.2 |
| 9.1.3 | |
| 9.1.2 | |
| 9.1 | |
| 9.0 | |
| 8.2 | |
| 8.01 | |
| 8.00 | |
| 8.0 |
| Previous Page | | | Next Page |
| Working with Numeric Variables |
A numeric variable is a variable whose values are numbers.
Note: SAS uses double-precision floating
point representation for calculations and, by default, for storing numeric
variables in SAS data sets. ![[cautionend]](../../../../common/61925/HTML/default/images/cautend.gif)
1254 336.05 -243
You can use SAS to perform all kinds of mathematical operations. To perform a calculation in a DATA step, you can write an assignment statement in which the expression contains arithmetic operators, SAS functions, or a combination of the two. To compare numeric variables, you can write an IF-THEN/ELSE statement using logical operators. For more information on numeric functions, see the discussion in the "Functions and CALL Routines" section in SAS Language Reference: Dictionary.
| Previous Page | | | Next Page | | | Top of Page |
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.
