I have sas data file with more than 5 decimal points. I want to remove decimal with rounding off the last digit. How can I do?
rounded = round(unrounded, 1); * Rounds to nearest whole number;
rounded4 = round(unrounded, 0.0001); * Rounds to 4 decimal places;
my varaible to be rounded off is 'gesta_age_wks'. how should i write the code?