RE: [PHP] How to get a double to show the .00 in a hole number

From: Date: Fri, 31 Aug 2001 19:55:00 +0000
Subject: RE: [PHP] How to get a double to show the .00 in a hole number
Groups: php.general 
Request: Send a blank email to php-general+get-65547@lists.php.net to get a copy of this message
> I am trying to get a double data type to display the .00 in a > "hole" dollar amount (i.e. 432.00 not 432 or $432.00 not $432). > Can anyone tell me how to do this? printf(); or sprintf(); is your friend Chris

« previous php.general (#65547) next »