Jun 22, 2008

Formatted Print

#!F:\Perl\bin\perl -w
use strict;

printf("\n%.2f", 19.9500000000000000000);
printf("\n%.3f", 19.9500000000000000000);

No comments:

Post a Comment