<?php $input = '1.0'; if($input != floatval($input)) { echo 'invalid'; }
You have javascript disabled. You will not be able to edit any code.