Quote:
Originally Posted by it-iss.com
Good spot. We could also use the CEIL function i.e. CEIL(value*100)/100
|
Could you give me an example how this would work.
If I understand the CEIL will move the value to an integer
so .111 would be 1. In which case the formula would spit out (1*100)/100 = 1 but I need precision to the hundredth.
Adding .004 seems like it would work
.111 + .004 = .115 round = .12
.117 + .004 = .121 round = .12
.119 + .004 = .123 round = .12
.120 + .004 = .124 round = .12
However, I have never used a math function to update a database. Can you provide an example of one?