Hi,
I'm working to enhance an EG report with some new calcs to be used for determining shipping measurements
My data set will have 3 numeric data columns with whole numbers & numbers with decimal positions.
IE:
5
17.72
13.47
15
6.15
For the values that have no decimal positions, I need to leave those numbers 'as is'
Any value that has a decimal position, I need to always round up to the next whole number with no decimal positions
so my expected results will be:
5
18
14
15
7
Does anyone know of a function or routine I can use for this?
Any help would be appreciated!
CEIL function.
@cnilsen wrote:
Hi,
I'm working to enhance an EG report with some new calcs to be used for determining shipping measurements
My data set will have 3 numeric data columns with whole numbers & numbers with decimal positions.
IE:
5
17.72
13.47
15
6.15
For the values that have no decimal positions, I need to leave those numbers 'as is'
Any value that has a decimal position, I need to always round up to the next whole number with no decimal positions
so my expected results will be:
5
18
14
15
7
Does anyone know of a function or routine I can use for this?
Any help would be appreciated!
CEIL function.
@cnilsen wrote:
Hi,
I'm working to enhance an EG report with some new calcs to be used for determining shipping measurements
My data set will have 3 numeric data columns with whole numbers & numbers with decimal positions.
IE:
5
17.72
13.47
15
6.15
For the values that have no decimal positions, I need to leave those numbers 'as is'
Any value that has a decimal position, I need to always round up to the next whole number with no decimal positions
so my expected results will be:
5
18
14
15
7
Does anyone know of a function or routine I can use for this?
Any help would be appreciated!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.