Hi,
In my stored procedure, I am getting quantity field which I want to round up to the next increment of ten. If I use ceiling function it increments only to next numeric. For example, If the quantity is 23.3, then I would want it as 30 and if the quantity is 4, I would want it 10.
There might be a simple way to do it, but somehow, I can not think of anything.
Can somebody suggest a way to do it?
Thanks in advance,
ndp
In my stored procedure, I am getting quantity field which I want to round up to the next increment of ten. If I use ceiling function it increments only to next numeric. For example, If the quantity is 23.3, then I would want it as 30 and if the quantity is 4, I would want it 10.
There might be a simple way to do it, but somehow, I can not think of anything.
Can somebody suggest a way to do it?
Thanks in advance,
ndp