What is Python?
Tim Hammerquist
tim at degree.ath.cx
Fri Sep 22 13:05:25 EDT 2000
Huaiyu Zhu <hzhu at yahoo.com> wrote:
> Tim Hammerquist <tim at degree.ath.cx> wrote:
> > printf("%.2", $answer); // Perl
> >is loosely similar in principle to:
> > printf("%.2", *var_ref); // C
>
> (You've missed the format characters like d, f, g, s, etc.)
Of course, I spent so long deciding the precision, I forgot about the
variable type. Luckily an infrequent mistake and easily fixed. Thx. =)
--
-Tim Hammerquist <timmy at cpan.org>
If the human mind was simple enough to understand,
we'd be too simple to understand it.
-- Emerson Pugh
More information about the Python-list
mailing list