emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with lisp code in spreadsheet
@ 2007-06-16 17:50 Cecil Westerhof
  2007-06-16 22:14 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Cecil Westerhof @ 2007-06-16 17:50 UTC (permalink / raw)
  To: org-mode

In a row I have the following formula's:
  =$3
  ='(getHours $2);%.2f
  ='(/ 67 0.72);%.1f
  ='(/ $3 (getHours $2));%.1f
This gives:
  67
  0.72
  93.1
  0.0

I would expect the last two to return the same number. Why is this not
the case?

When I change the last formula to:
  ='(/ 67 (getHours $2));%.1f
I get:
  93.5

What is happening here?

-- 
Cecil Westerhof <CecilWesterhof@xs4all.nl>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-17  9:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-16 17:50 Problem with lisp code in spreadsheet Cecil Westerhof
2007-06-16 22:14 ` Carsten Dominik
2007-06-17  6:22   ` Cecil Westerhof
2007-06-17  9:56     ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).