Round to next increment
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's perfectly clear.
The next higher whole multiple of 3 than the generated value is required.
Divide by 3, use the Ceil() function to get the next higher integer, then multiply that by 3.
(You could use round_inf, too, if you had some other conversion function that needed to be applied.)
The next higher whole multiple of 3 than the generated value is required.
Divide by 3, use the Ceil() function to get the next higher integer, then multiply that by 3.
(You could use round_inf, too, if you had some other conversion function that needed to be applied.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.