RE: Strange total from adding 2 numbers

2002-05-23 Thread Bob Showalter
> -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

RE: Strange total from adding 2 numbers

2002-05-23 Thread Beau E. Cox
, 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 &

RE: Strange total from adding 2 numbers

2002-05-23 Thread Wagner-David
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

RE: Strange total from adding 2 numbers

2002-05-23 Thread LoBue, Mark
> > -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

Re: Strange total from adding 2 numbers

2002-05-23 Thread Jeff 'japhy' Pinyan
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

RE: Strange total from adding 2 numbers

2002-05-23 Thread cschoeneman
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

RE: Strange total from adding 2 numbers

2002-05-23 Thread Shishir K. Singh
;; '[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

Re: Strange total from adding 2 numbers

2002-05-23 Thread Jonathan E. Paton
> 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

RE: Strange total from adding 2 numbers

2002-05-23 Thread cschoeneman
: 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

RE: Strange total from adding 2 numbers

2002-05-23 Thread Bob Showalter
> -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.

RE: Strange total from adding 2 numbers

2002-05-23 Thread Nikola Janceski
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

RE: Strange total from adding 2 numbers

2002-05-23 Thread John Edwards
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

RE: Strange total from adding 2 numbers

2002-05-23 Thread Timothy Johnson
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

Strange total from adding 2 numbers

2002-05-23 Thread cschoeneman
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