Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-28 Thread Manish
On Sat, Sep 27, 2008 at 6:59 PM, Rainer Thiel wrote: > 2008/9/27 Manish : >> About not being sure how to access latest Org, FAQ at >> http://orgmode.org/worg/org-faq.php might help. > > Thank you, Manish. Is this lykely to work on a Windows machine with > cygwin installed, too? Yes,

Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-27 Thread Carsten Dominik
Hi Rainer, On Sep 27, 2008, at 4:20 PM, Rainer Thiel wrote: Hi Carsten, 2008/9/27 Carsten Dominik <[EMAIL PROTECTED]>: The other thing you can do is to use your own format to convert the number. Maybe something like "%.2f" will work for you? Hard to make this correct for the general case

Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-27 Thread Rainer Thiel
Hi Carsten, 2008/9/27 Carsten Dominik <[EMAIL PROTECTED]>: > The other thing you can do is to use your own format to convert the number. > Maybe something like "%.2f" will work for you? Hard to make this correct > for the general case though. Yes, this is not a way to go, as far as I can see, f

Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-27 Thread Rainer Thiel
2008/9/27 Manish <[EMAIL PROTECTED]>: > About not being sure how to access latest Org, FAQ at > http://orgmode.org/worg/org-faq.php might help. Thank you, Manish. Is this lykely to work on a Windows machine with cygwin installed, too? Best wishes, and many thanks again, Rainer -- Prof. Dr. Rai

Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-27 Thread Manish
On Sat, Sep 27, 2008 at 12:49 PM, Rainer Thiel Following a hint by Bernt Hansen, I have now changed org-table-sum to > (format "%s" res) until I'll be able to use the corrected version > Carsten Dominik uploaded to the git repository (which I am not sure > how to access). About not being

Re: [Orgmode] adding up decimal fractions in the spreadsheet

2008-09-27 Thread Carsten Dominik
Hi Rainer, it is a common mis-conception that a number that has a limited number of digits in base 10 can be represented exactly on a computer. This is correct for integers, but not for fractional numbers. Example: 1. Open the emacs calc with M-x calc RET 2. Type 12130.68 (first number fr

[Orgmode] adding up decimal fractions in the spreadsheet

2008-09-27 Thread Rainer Thiel
Following a hint by Bernt Hansen, I have now changed org-table-sum to (format "%s" res) until I'll be able to use the corrected version Carsten Dominik uploaded to the git repository (which I am not sure how to access). Even so, org-table-sum at times shows a strange behaviour. When I try to sum