> You can use rules to achieve this goal. Play with the "floor", "ceiling" and
> "mod" XPath functions, they should help.
[quoted text clipped - 4 lines]
> > need to do this.
> > Any Ideas?
Do you mean to the "nearest" .5 or to the "next" .5? For example, if you have 123.6, does that mean you want 123.5 or 124.0?
The above is more for curiosity than anything.
My recommendation would be that you don't use rules, but instead use code. I'm sure if there's a good mathematician here, they could give you some kind of a formula to do this, but it seems to me that writing code is just as easy. Then you have fine-grain control over such neuances as I mentioned above.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Well, i see the "round" function, but I need it to go by the nearst .5
Also, I did not see a mod function.
Is this still possible?
"Alex [MSFT]" wrote:
> You can use rules to achieve this goal. Play with the "floor", "ceiling" and
> "mod" XPath functions, they should help.
[quoted text clipped - 4 lines]
> > need to do this.
> > Any Ideas?
Jeffshex - 20 Jul 2005 13:56 GMT
I guess I would want it to go to the nearest .5
That would probably work the best for me.
> Do you mean to the "nearest" .5 or to the "next" .5? For example, if you have 123.6, does that mean you want 123.5 or 124.0?
>
[quoted text clipped - 16 lines]
> > > need to do this.
> > > Any Ideas?