>Hi everyone,
>
>I'd like to convert numbers to the following:
>
>5->5
>52->50
>333->300
>4567->5000
>1234567->1000000, e.g. to the round number.
>
>What would be the simplest algorithm for this?
>
>Thanks in advance.
Nadya,
Dragan's round(tnNumber, -floor(log10(abs(tnNumber)))) is not a solution ???
Cetin