Roy M wrote:
Conside the following codes:

use POSIX;

print LONG_MAX, "\n";

my $num = 99999999994;
print $num;


Why $num is bigger than LONG_MAX ?

Because the value in $num is a floating point number.

perldoc perlnumber


John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to