DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+1 =
Submit