emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: jman <emacs-orgmode@city17.xyz>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Question] Getting cell value and use it in table formula
Date: Wed, 2 Oct 2024 06:16:10 +0200	[thread overview]
Message-ID: <ZvzJCscEHrg5VlGU@tuxteam.de> (raw)
In-Reply-To: <87zfnnpp81.fsf@city17.xyz>

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

On Tue, Oct 01, 2024 at 10:01:18PM +0200, jman wrote:
> <tomas@tuxteam.de> writes:
> 
> > I think it's in the manual (this is Org v9.7):
> > 
> >  | 3.5.3 Emacs Lisp forms as formulas
> >  | ----------------------------------
> 
> For some reason, I think I got confused by the table formula modifiers
> (E, N, L) and various type casting. What I wanted to achieve was simply:
> 
> ----------s---------s----------
> | EUR |    USD | Exchange rate |
> |-----+--------+---------------|
> |  10 |   8.97 |         0.897 |
> |  15 | 13.455 |               |
> #+TBLFM: $2='(* $1 @2$3);N
> ----------e---------e----------

Glad you found it :)

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      reply	other threads:[~2024-10-02  4:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-01 14:35 [Question] Getting cell value and use it in table formula jman
2024-10-01 15:04 ` tomas
2024-10-01 20:01   ` jman
2024-10-02  4:16     ` tomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZvzJCscEHrg5VlGU@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-orgmode@city17.xyz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).