Hello all, my input is decimal 4,2 and my output is smallint. So I am using Ceil func to get the closest value.
What I am expecting is
Ceil (7.04) =7
ceil(7.94)=8
But in both cases above, the output I am getting is 8. Let me know if there is another way around.
Rounding Issue
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 142
- Joined: Mon Jun 27, 2005 5:31 pm
- Location: Atlanta GA
Rounding Issue
Venkat Velagapudi
-
- Premium Member
- Posts: 142
- Joined: Mon Jun 27, 2005 5:31 pm
- Location: Atlanta GA