Hi Lagahoo,
I'm not sure if I understand exactly what you're after, but I'll give it a go!
The code shown below will round a number to the nearest 0.5. It doubles the number, rounds it to the nearest whole integer and halves it again. If this isn't what you were after, please let me know. Some of your statements contradicted each other so I'm not sure about your original question.
Hope this helps!

Message Edited by Tom O on
01-24-2008 10:50 AM
Tom
Applications Engineering, NI UK