perl -e 'my $x = 1.5050; my $y = 1.5150; my $s = sprintf "%0.2f\n%0.2f\n", $x, $y; print $s;' 1.50 1.52