Search notes:

SAS programming - macro function: %sysevalf

%sysevalf can, contrary to %eval, perform floating point arithmetic.
%put 45.1 - 3.1 = %sysevalf( 45.1 - 3.1 );  /* 45.1 - 3.1 = 42 */
%put 45   - 3   = %sysevalf( 45   - 3   );  /* 45   - 3   = 42 */
Github repository about-SAS, path: /macro-processor/functions/sysevalf/floating-point-arithmetic.sas

See also

%eval
macro functions

Index