🌈 搜索
📅  最后修改于: 2022-03-11 14:48:11.145000             🧑  作者: Mango
my $places = 2; my $factor = 10**$places; int(1.555 * $factor) / $factor; # 1.55