Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $altura = 1.75;
- var_dump($altura);
- if(is_float($altura)): //Verifica se é um float
- echo "É uma float";
- else:
- echo "Não é uma float";
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement