On Fri, 10 Aug 2001, Vladislav Vik wrote:

> However, I have run into following problem: when domain price is calculated
> and appropriate taxes are added my total price displays in format like this.
>
> Example: 84.356
> And I would like it to displays in the currency format
> Example: 84.36

printf/sprintf is a good way, while the classic way to do the math is:
        $dollars = int($exact_value*100+0.5)/100;

Rich Roth
Domain Registrar @ On-the-Net.com

Reply via email to