but if you just want to print it, (s)printf() would be the better choice.$a = 1100.64686081907; $b = int($a*100+.5)/100;
In reply to Re: Simple Rounding
by Beechbone
in thread Simple Rounding
by einerwitzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |