Hi everyone,

I am trying to format a number for a report, the one consistant thing is 
the three decimal places.  But I need to strip them, then fill in zero's 
from the left.  

So, if the number coming in is 8.000 I need to convert to 00800, 11.070 
would convert to 01107.

I have tried a combination of number_format and usually end up with 8000
or 00110.  

Help!  Thank you!  Mind in slow motion this morning.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to