- preg_match: documentation ( source)
- round: documentation ( source)
<?php
$_POST['solution'] = 6898557993159892;
$solution=(($_POST['solution']*1337)+1.7);
$solution=!preg_match('/[^0-9]/',''.$solution)?(int)round($solution)-33:1337;
if($solution=='float'){
echo 'WE rock';
}
?>