in reply to sprintf on floating point
my $var = sprintf "%1.2f", '0.001'; print "\$var = " . ($var + 0) . "\n"; [download]