Answers for "convert to interger php"

PHP
43

php string to int

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

php to int

$num = "3.14";
$int = (int)$num;
Posted by: Guest on April-13-2020
-2

convert string to int php

intval ( mixed $var [, int $base = 10 ] ) : int
Posted by: Guest on March-14-2020

Code answers related to "convert to interger php"

Browse Popular Code Answers by Language