Answers for "convert string to decimal in php"

PHP
1

string to double php

$floatValue = floatval("1.0");
Posted by: Guest on May-13-2020
1

string to decimal php

$num = (double) "10.12";
Posted by: Guest on January-26-2021
3

php float value

floatval ($var)
Posted by: Guest on June-19-2019

Code answers related to "convert string to decimal in php"

Browse Popular Code Answers by Language