DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
convert comma separated number to number in php
$number = '1,000.5669'; $number = (float) str_replace(',', '', $number); var_dump($number);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#comma
#separated
#number
#number
#php
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit