Hi Folks,
I need to be able to round a number to the nearest 0.5.
i.e. 21.3 rounds to 21.5
21.25 rounds to 21
Any suggestions on how to do this.
Just wondering if something like
would work consistently or if there is a better method
Nick
Mighty
I need to be able to round a number to the nearest 0.5.
i.e. 21.3 rounds to 21.5
21.25 rounds to 21
Any suggestions on how to do this.
Just wondering if something like
Code:
Round(Round(2*myVal, 0)/2, 1)
would work consistently or if there is a better method
Nick
Mighty