http://qs1969.pair.com?node_id=544607


in reply to Rounding off numbers

I always liked
$int = sprintf "%.0f", $float;
which rounds things off nicely.