What is Python?
tim at degree.ath.cx
Fri Sep 22 19:05:25 CEST 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