Answers for "convert decimal to integer in php"

PHP
43

php string to int

intval($string);
Posted by: Guest on February-20-2020
1

string to decimal php

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

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

Browse Popular Code Answers by Language