Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if number is float in php

//check if number is float
$float = is_float(2.4);
echo $float; //Returns true (1) if number is a float and false otherwise
 
PREVIOUS NEXT
Tagged: #check #number #float #php
ADD COMMENT
Topic
Name
7+5 =