Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Monks,

Newbie question here how can I (or can I?) display the decimal expansion of say:

print 2**103;

(or any quite large integer) instead of the scientific expression??

Replies are listed 'Best First'.
Re: displaying big integers
by projekt21 (Friar) on Aug 30, 2002 at 16:21 UTC
    perl -MMath::BigInt=:constant -e 'print 2**103'

    Please see Math::BigInt for more.

    alex pleiner <alex@zeitform.de>
    zeitform Internet Dienste

      Thanks alot that is great!