2 Attachment(s)
Rounding a counter to 2 decmimal places
I've been trying to find a "simple" way to take a float number and round it off to 2 decimal places. I've gotten part way there, but there is a bug of some kind that I'm missing. Any help appreciated.
I am taking the counter and rounding if off using the string parsar into counter 2.
Steve
Re: Rounding a counter to 2 decmimal places
Try this:
[color:#3333FF]Round( Value * 100 ) / 100.0[/color]
Re: Rounding a counter to 2 decmimal places
Thanks a lot. That works great and is really simple.
Steve