Answers for "php convert string to number with 2 decimals"

PHP
1

string to decimal php

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

Code answers related to "php convert string to number with 2 decimals"

Browse Popular Code Answers by Language