print sprintf("%.0f\n", 345.234);
print sprintf("%.0f\n", 89.7);
This represent reality a bit better, IMHO.
Arjen
In reply to Re: Rounding numbers output
by Aragorn
in thread Rounding numbers output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |