Help for this page
Select Code to Download
Select
or
download this
$int = sprintf "%d", $num;
Select
or
download this
$int = int $num + $num =~ /\.[5-9]/;