Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

RE: [PHP] 2 decimal places From: Boget, Chris (Chris.Boget <email protected>)
Date: 09/25/01

> 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