About Numeric Variables in SAS

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.
SAS accepts numbers in many forms, such as scientific notation, and hexadecimal. For more information, see the discussion on the types of numbers that SAS can read from data lines in SAS Language Reference: Concepts. For simplicity, this documentation concentrates on numbers in standard representation, as shown here:
1254
 336.05
-243
You can use SAS to perform all types of mathematical operations. To perform a calculation in a DATA step, you can write an assignment statement in which the expression contains arithmetic ...

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.