Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol > Re: Decimal ver...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 13 of 53 Topic 4077 of 4196
Post > Topic >>

Re: Decimal versus binary arithmetic was Re: J4 - presentation/discussion on "Future of the COBOL Standard"

by Robert <no@[EMAIL PROTECTED] > Apr 8, 2008 at 09:59 PM

On Mon, 7 Apr 2008 22:29:07 -0700 (PDT), Richard <riplin@[EMAIL PROTECTED]
>
wrote:

>On Apr 8, 2:11 pm, Robert <n...@[EMAIL PROTECTED]
> wrote:

>> It's of no use when dealing with integers, because they have no
fractional part.
>
>But they do have fractional parts.
>
>If I have my stock  valuation total in cents and I have the quantity
>in units then when I divide to find the average cost per unit I have a
>fractional part to deal with. This may be rounded using various
>methods but accounting practice requires this be done in decimal, and
>binary rounding does not give accurate decimal rounding.

An average is an approximation. You're not going to book the number, so
accountants don't
care whether it's off by a cent. 

I doubt you can find a requirement for decimal arithmetic in IFRS (EU) or
FASB (US)
accounting standards. Generally, standards define results and avoid
telling you how to
achieve them. 

I am very familiar with EDGAR, the US Securities and Exchange Commission
database for
electronic filing of mutual fund holdings, and the Thomson CDA/Spectrum
Institutional
13(f) Common Stock Holdings and Transactions database. If you go to Yahoo
Finance or
similar, pull up a mutual fund and click on Holdings, the numbers you will
see came
through those databases and my software. You will not see price per unit,
but you will see
the marked to market value of each holding rounded to thousands. The
standard for
computing that number says in its entirety:

"You must round entries in Column 4 (Value) to the nearest thousand
dollars, and omit the
last three places."
http://www.sec.gov/info/edgar/edgarfm-vol2-v5.pdf
 




 53 Posts in Topic:
Re: Decimal versus binary arithmetic was Re: J4 -
"Frank Swarbrick&quo  2008-04-01 13:14:46 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Clark F Morris <cfmpub  2008-04-01 19:29:05 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Binyamin Dissen <posti  2008-04-02 10:18:01 
Re: Decimal versus binary arithmetic was Re: J4 -
Alistair <alistair@[EM  2008-04-05 14:39:44 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/
Robert <no@[EMAIL PROT  2008-04-05 18:46:10 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-07 21:53:28 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-07 22:09:08 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/
Robert <no@[EMAIL PROT  2008-04-08 22:05:16 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/
"Rick Smith" &l  2008-04-09 10:16:29 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-07 22:16:47 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/
Michael Wojcik <mwojci  2008-04-08 16:57:05 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-07 22:29:07 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/
Robert <no@[EMAIL PROT  2008-04-08 21:59:07 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-07 22:41:07 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-07 22:54:32 
Sampling accuracy and everyone being wrong was Re: Decimal vers
Clark F Morris <cfmpub  2008-04-08 10:31:39 
Re: Sampling accuracy and everyone being wrong was Re: Decimal
docdwarf@[EMAIL PROTECTED  2008-04-08 14:48:38 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-08 21:41:10 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/
Robert <no@[EMAIL PROT  2008-04-09 19:19:26 
Re: Decimal versus binary arithmetic was Re: J4 -
Richard <riplin@[EMAIL  2008-04-09 18:45:59 
Re: Decimal versus binary arithmetic was Re: J4 -
"Frank Swarbrick&quo  2008-04-03 18:42:16 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-04 00:13:23 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"William M. Klein&qu  2008-04-04 05:52:42 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-07 22:41:47 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-04 07:50:39 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-04 19:51:24 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
docdwarf@[EMAIL PROTECTED  2008-04-05 01:39:33 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-04 21:54:44 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
docdwarf@[EMAIL PROTECTED  2008-04-06 02:23:46 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-07 22:39:38 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-08 08:47:27 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-08 20:39:22 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-09 07:51:19 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-09 20:00:40 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-10 07:36:17 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-10 08:53:22 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-09 07:53:32 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-09 19:54:10 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-07 08:07:32 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"tlmfru" <la  2008-04-05 10:54:00 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-05 18:18:13 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"tlmfru" <la  2008-04-07 11:08:23 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-07 21:11:04 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"tlmfru" <la  2008-04-08 11:00:52 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-07 08:09:26 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"tlmfru" <la  2008-04-07 10:49:27 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-07 08:04:00 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"HeyBub" <he  2008-04-04 08:53:49 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-04 21:19:36 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
"Pete Dashwood"  2008-04-05 17:34:51 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
docdwarf@[EMAIL PROTECTED  2008-04-05 14:03:36 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Howard Brazee <howard@  2008-04-07 08:12:37 
Re: Decimal versus binary arithmetic was Re: J4 - presentation/d
Robert <no@[EMAIL PROT  2008-04-07 20:24:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 3:24:16 CDT 2008.