広告
EXPR の整数部を返します。EXPR を省略すると、$_ が使われます。
$dblx = 5.462; print $floor = int( $dblx );
5
https://www.7key.jp/program/perl/int.html