Answers for "variable of numbers php"

PHP
2

php is variable a number

if(is_numeric($what_am_i)){
	//true
}
Posted by: Guest on September-24-2020
1

PHP Numbers

<?php
$x = 5985;
var_dump(is_int($x));

$x = 59.85;
var_dump(is_int($x));
?>
Posted by: Guest on November-27-2020

Browse Popular Code Answers by Language