From: edgar@openmail.cc
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: how to concatenate string to spreadsheet formula
Date: Tue, 16 Aug 2022 08:22:59 +0000 [thread overview]
Message-ID: <1923edc6cff942a1a6a68c2611fd5391@openmail.cc> (raw)
In-Reply-To: <87o7wlbmeo.fsf@ucl.ac.uk>
On 2022-08-15 14:40, Fraga, Eric wrote:
> Hi Edgar,
>
> I did not quite understand what you actually were calculating but maybe
> consider the following expression for table formulas:
>
> #+TBLFM: $3='(format "%s\\textwidth" (/ (* 1.0 $2) $1));N
>
> If you specify ";N", the entries are treated as numbers. The problem
> with division is that if both numbers are integers, integer division is
> used so I multiply one of the arguments by 1.0 to ensure floating point
> numbers.
>
> HTH,
> eric
Aha! Thank you very much.
-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
prev parent reply other threads:[~2022-08-16 8:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 13:50 how to concatenate string to spreadsheet formula edgar
2022-08-15 14:40 ` Fraga, Eric
2022-08-16 8:22 ` edgar [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=1923edc6cff942a1a6a68c2611fd5391@openmail.cc \
--to=edgar@openmail.cc \
--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).