$int = sprintf "%d", $num;