Is the following considered ok as in good PERL style?

#!/usr/bin/perl -w

$num =1.12345;

my $tax_formated = sprintf("%.2f", $num);  # <--- THIS LINE

print "$tax_formated  " ,length($tax_formated), "\n";



----Thanks----

Dave


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to