Question on relations
Hi all,
i have a simple relation d8=p1*p2, where p1=206 & p2=1.0065 making d8=207.339
ok, here is my problem, i want this value to be exactly 207.3400, but rounded to 2 decimal places, so 207.34, now i know about floor & ceil, if i write the realtion with floor (,2), then i get 207.33 (exactly) & if i write the relation with ceil (,2), then i get 207.34 (exactly). So what is the problem you ask, i have the required value of 207.34, but the next time d8 might equal 169.229, floored would give 169.22, but i would require 169.23. Once the relation is written, it is written, i don't want to get into a situation where i have to keep swapping between floor & ceil to achieve a correct rounding up or down. I will give a couple more examples of what i want to achieve, in the hope that somebody understands my requirements.
actual value 223.234, required value 223.2300, but rounded to 2 places, so 223.23
actual value 125.987, required value 125.9900, but rounded to 2 places, so 125.99
ok, hopefully my babbling will make sense to someone.
I just had a thought, is there a way of using floor & ceil in the same realtion, to achieve what i want, if so, how would you write that.
Best Regards
John

