Answers for "how to convert a string to a number with decimal in php"

PHP
1

string to decimal php

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

Code answers related to "how to convert a string to a number with decimal in php"

Browse Popular Code Answers by Language