php-general | 2001092
Date: 09/25/01
- Next message: John Lim: "[PHP] Re: Zend Cache & cache_gui"
- Previous message: Jon Haworth: "RE: [PHP] Counter"
- Maybe in reply to: Kurth Bemis: "[PHP] 2 decimal places"
- Next in thread: Evan Nemerson: "Re: [PHP] 2 decimal places"
- Reply: Evan Nemerson: "Re: [PHP] 2 decimal places"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> What if I want to pad a number with zeros in the other
> direction? I.E:
> 524 becomes 00524
printf() / sprintf() is your friend.
Chris
- Next message: John Lim: "[PHP] Re: Zend Cache & cache_gui"
- Previous message: Jon Haworth: "RE: [PHP] Counter"
- Maybe in reply to: Kurth Bemis: "[PHP] 2 decimal places"
- Next in thread: Evan Nemerson: "Re: [PHP] 2 decimal places"
- Reply: Evan Nemerson: "Re: [PHP] 2 decimal places"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

