Search
 
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
Name
8+9 =