lt;[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 10:50 PM
Subject: [PHP] How to get a double to show the .00 in a hole number
> 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).
>
> Ca
> 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
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?
Thanks,
Robert J Collins
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
3 matches
Mail list logo