Hi and welcome to Tek-Tips. To get the best from the forum, please read faq222-2244, which helps you get the best answers.
For this one you will get quite close with:
[tt]
1000*Round(no/1000)
[/tt]
But remember that Round does statistical rounding, that is Round(2.5) becomes 2, but Round(3.5) becomes 4.
For consistent treatment use Int:[tt]
1000*(Int((no/1000) + .5))
[/tt]
which rounds all .5 up
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
Johnwm - I did mine suspended from the ceiling by a rope and drinking a pint of lager just for the challenge which explains the typing speed but not the omission (int etc). Perhaps I'll replace the rope with a second pint next time in case the rope is affecting my concentration.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.