Answers for "convert php decimal to integer"

PHP
3

convert to int php

$myintvariable = intval($myvariable);
Posted by: Guest on February-16-2020
1

string to decimal php

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

Code answers related to "convert php decimal to integer"

Browse Popular Code Answers by Language