Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php float 2 decimais

$foo = "105";
echo number_format((float)$foo, 2, '.', '');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #float #decimais
ADD COMMENT
Topic
Name
3+1 =