As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
%EVAL macro function
The %EVAL macro function evaluates an arithmetic or logical expression using integer arithmetic.
- %EVAL( expression )
- expression should be an arithmetic or logical expression that contains integers.
If a number containing a decimal point is encountered an error may occur because the %EVAL macro function interprets numbers containing decimal points as character strings. To evaluate expressions containing decimals or floating point numbers use the %SYSEVALF macro function.