Answers for "exparintom number in php"

PHP
1

php float to int

$int = intval($float);
Posted by: Guest on October-08-2020
2

php int to string

$number = 11;
// This
echo strval($number);
// Or This
echo (String) $number;
// Output
// "11"
// "11"
Posted by: Guest on October-29-2020

Browse Popular Code Answers by Language