On Wed, 12 Mar 2003, David Gilden wrote:
> 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";
The important thing is, does it do w
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 comma