Re: Re: Number with More then 15 Digits.

2005-04-26 Thread Offer Kaye
On 26 Apr 2005 13:35:27 -, Govardhan M. V wrote: > >Hi, > Thanks for the help, > put i tried this > use Math::BigInt; > $a = Math::BigInt->new("12345678901234567890"); > printf("%.0f\n",$a); > > out put is > 12345678901234567168 > > which is not right so please do let me know

Re: Number with More then 15 Digits.

2005-04-26 Thread Offer Kaye
On 26 Apr 2005 11:35:59 -, Govardhan M. V wrote: > > Hi > > $a = 1234567890123456789; > printf ("%0.0f\n", $a); > > Out Put is > 1234567890123456800 > > which is wrong can any one let me know how do we handle > Digits More than 15 digits .. > There is no "wrong" here. When trying to stor

Number with More then 15 Digits.

2005-04-26 Thread Govardhan M. V
  Hi $a = 1234567890123456789; printf ("%0.0f\n", $a); Out Put is 1234567890123456800 which is wrong can any one let me know how do we handle Digits More than 15 digits .. Regards Govardhan MV