2012-08-28 ExcelのROUND(50, -2)をPerlでやりたかった。 use 5.10.1; use strict; use warnings; use Math::Round; say nearest(100, 50); #=> 100 という使い方を今知ったのであった。