number_format

From: Date: Mon, 29 May 2006 21:28:34 +0000
Subject: number_format
Groups: php.general 
Request: Send a blank email to php-general+get-237041@lists.php.net to get a copy of this message
Hi. I´m having some troubles with the number_format function. When i run a number_format("3000",2,",",".") if returns correctly, but when i try to run number_format("300",2,",",".") it returns the value formatted but with two spaces before. Anyone knows how can i avoid this? Thanks.

« previous php.general (#237041) next »