> -Original Message-
> From: LoBue, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 11:26 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Strange total from adding 2 numbers
>
>
> > > -Original Message-
> > > From: [EMAIL PRO
, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 8:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Strange total from adding 2 numbers
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 23, 2002 8:48 AM
&
Try:
perldoc -q long decimal
and it works as it should.
Wags ;)
-Original Message-
From: LoBue, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:26
To: [EMAIL PROTECTED]
Subject: RE: Strange total from adding 2 numbers
> > -Or
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 23, 2002 8:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: Strange total from adding 2 numbers
> >
> >
> > Why is the addition
On May 23, [EMAIL PROTECTED] said:
>Why is the addition of the numbers -67947269.62 and 68288455.49, both with
>only 2 numbers after the decimal, resulting in 341185.8696 where there
>are 8 numbers after the decimal. I would expect the number to simply be
>341185.87. How can i avoid this st
Gotcha. Thanks to all who responded!
-Original Message-
From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Strange total from adding 2 numbers
> Why is the addition of the numbers -67947269.62 and
> 68288
;;
'[EMAIL PROTECTED] '
Subject: RE: Strange total from adding 2 numbers
No. I've just tried
---
$a = 68288455.49;
$b = 67947269.62;
$c = $a - $b;
print $c;
---
and also get a result of
341185.8699
Weird.
John
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROT
> Why is the addition of the numbers -67947269.62 and
> 68288455.49, both with only 2 numbers after the decimal,
> resulting in 341185.8696 where there are 8 numbers
> after the decimal. I would expect the number to simply
> be 341185.87. How can I avoid this strange behavior?
Because "floa
: Strange total from adding 2 numbers
It looks like the negative number is being entered as a string. How are you
entering the second Acct_Bal_Raw variable initially?
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 5/23/02 8:47 AM
Subject: Strange total from addi
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 8:48 AM
> To: [EMAIL PROTECTED]
> Subject: Strange total from adding 2 numbers
>
>
> Why is the addition of the numbers -67947269.62 and
> 68288455.
ird.
>
> John
>
> -Original Message-
> From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
> Sent: 23 May 2002 17:01
> To: '[EMAIL PROTECTED] '; '[EMAIL PROTECTED] '
> Subject: RE: Strange total from adding 2 numbers
>
>
>
> It lo
x27;[EMAIL PROTECTED] '
Subject: RE: Strange total from adding 2 numbers
It looks like the negative number is being entered as a string. How are you
entering the second Acct_Bal_Raw variable initially? -Original
Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 5/23/02 8:47
It looks like the negative number is being entered as a string. How are you
entering the second Acct_Bal_Raw variable initially?
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 5/23/02 8:47 AM
Subject: Strange total from adding 2 numbers
Why is the addition of
Why is the addition of the numbers -67947269.62 and 68288455.49, both with
only 2 numbers after the decimal, resulting in 341185.8696 where there
are 8 numbers after the decimal. I would expect the number to simply be
341185.87. How can i avoid this strange behavior?
Below are 2 examples, b
14 matches
Mail list logo