Re: How do I reformat a decimal no. to show just 2 decimal places?

From: Date: Thu, 29 Jun 2000 13:08:16 +0000
Subject: Re: How do I reformat a decimal no. to show just 2 decimal places?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-3792@lists.php.net to get a copy of this message
On Wed, 28 Jun 2000, Data Driven Design wrote: > number_format($sum1,2); > > or you can use printf() Or round($sum1, 2). -Andrei "C combines all the power of assembly language with all the ease of use of assembly language" -- trad

« previous php.general (#3792) next »