on Tue, 30 Jul 2002 07:12:30 GMT, [EMAIL PROTECTED] (Connie Chan)
wrote: 

> I have this script to make an integer with comma at every 3
> digits, from right to left. (What should this presentation way
> name actaully ?? ) Like 123456 will becomes 123,456. Is there
> anyway can making this simpler ? Can sprintf help ? 

This is a FAQ:

        perldoc -q commas

> Another question is that how can I use 16 digits long integer ?
> Any LongInt there ? 

    use Math::BigInt;
    my $number =  new Math::BigInt '1234567890123456';
    print $number+1;

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to