Is there a way to get SAS to round a number (ex. sum, product, quotient) to the nearest whole number, nearest tenth, nearest hundredth, etc. after adding, multiplying, or dividing a series of numbers?
And one of the fun things with the SAS Round function is you can round to other multiples such as 7 or 0.3 if that is needed.
newvar = round(var, 7);
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.