Possible Duplicate:
Format number in PHP
I want my number format 12 char in length, like if there is value 12 it should output 000000000012
Example: if value is 123.50 it should output 000000012350 No decimal (multiple of 100)
Any idea, which function will be used?
Thanks !
You can use str_pad
You can also use printf or sprintf
Output
Some Work Arounds
Output