sprintf ?
From: Craig (brokenleg_at_heartattack.com)
Date: 09/27/04
- Next message: Craig Keightley: "Re: Number question"
- Previous message: Nona Me: "PHP/XML (or PHP/MySQL) CMS"
- Next in thread: Bent Stigsen: "Re: sprintf ?"
- Reply: Bent Stigsen: "Re: sprintf ?"
- Reply: J.O. Aho: "Re: sprintf ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Sep 2004 08:53:15 +0100
I'd like to format 2114000 (Stored as a double)
as R 2,114,000.00
Do I have to append the R in the front, and then use sprintf somehow to
format the number, or is there a better way to do this.
- Next message: Craig Keightley: "Re: Number question"
- Previous message: Nona Me: "PHP/XML (or PHP/MySQL) CMS"
- Next in thread: Bent Stigsen: "Re: sprintf ?"
- Reply: Bent Stigsen: "Re: sprintf ?"
- Reply: J.O. Aho: "Re: sprintf ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]