PDA

View Full Version : Numbers In Perl


karthik3k
Mar13-04, 03:20 AM
How shall i handle with HUGE Numbers say more than 15 digits in PERL ???

dduardo
Mar13-04, 07:37 AM
Try looking for information for BigInt. I think it is in the math package.

use Math::BigInt

karthik3k
Mar13-04, 07:52 AM
No i want for a number of say 10000 digits or more. How will i do that??

dduardo
Mar13-04, 02:44 PM
What do you mean no.

"Math::BigInt - Arbitrary size integer math package"

http://www.perldoc.com/perl5.6/lib/Math/BigInt.html