Posted by "M. Sokolewicz" on 01/09/06 00:55
Ross wrote: > Is there a PHP function to strip the leading zeros from a number/string. > > R. try casting it to an (int) (if it's a number) and you'll have stripped the 0's (or to a (float)/(double) if it's not an integer)
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming