I don't really think that this piece of code is such a good idea: representing 12345678901234567890 as 12345678 doesn't make sense in any situation I can think of.
I'd suggest the author to check what he's written and either to modify or motivate this program.
Update: Fair enough given the update grinder added.
Just my 2 cents, -gjb-
In reply to Re: Re:x3 Rounding to a Given Number of Significant Figures Rather Than Decimal Places
by gjb
in thread Rounding to a Given Number of Significant Figures Rather Than Decimal Places
by Clem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |