Date: 08/31/01
- Next message: Andrey Hristov: "Re: [PHP] How to get a double to show the .00 in a hole number"
- Previous message: Robert J Collins: "[PHP] How to get a double to show the .00 in a hole number"
- Maybe in reply to: Robert J Collins: "[PHP] How to get a double to show the .00 in a hole number"
- Next in thread: Andrey Hristov: "Re: [PHP] How to get a double to show the .00 in a hole number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Next message: Andrey Hristov: "Re: [PHP] How to get a double to show the .00 in a hole number"
- Previous message: Robert J Collins: "[PHP] How to get a double to show the .00 in a hole number"
- Maybe in reply to: Robert J Collins: "[PHP] How to get a double to show the .00 in a hole number"
- Next in thread: Andrey Hristov: "Re: [PHP] How to get a double to show the .00 in a hole number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

