Exploring SAS Macro functions – Eval and Sysevalf
EVAL and SYSEVALF are the two macro functions that evaluate arithmetic expressions and logical expressions.Use the %Eval function to evaluate an arithmetic expression in SAS macro and use the %SYSEVALF function to evaluate floating-point arithmetic expressions.