emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: spreadsheet formulas without a .
Date: Mon, 24 Aug 2020 12:26:42 +0300	[thread overview]
Message-ID: <CA++fsGFbbAbg2FJDVJb+2Whm8WjY7PurJcg4EZuycEoVYViu4w@mail.gmail.com> (raw)
In-Reply-To: <878se4ifg5.fsf@mat.ucm.es>

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

You can do the following:

#+TBLFM: $3=$1*$2;%.0f

Search for % at https://orgmode.org/manual/Formula-syntax-for-Calc.html .

Regards,

On Mon, Aug 24, 2020 at 12:03 PM Uwe Brauer <oub@mat.ucm.es> wrote:

>
> Hi
>
> Please look at
>
>
> | 20 | 0.9 | 18. |
> #+TBLFM: $3=$1*$2;f0
>
>
> I'd prefer to have the result 18, just written 18 and not 18.
>
> I can't the right format in the documentation.
>
> Thanks and regards
>
> Uwe Brauer
>
>
>

[-- Attachment #2: Type: text/html, Size: 1429 bytes --]

  reply	other threads:[~2020-08-24  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24  9:03 spreadsheet formulas without a Uwe Brauer
2020-08-24  9:26 ` Dov Grobgeld [this message]
2020-08-24 11:33   ` Uwe Brauer

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=CA++fsGFbbAbg2FJDVJb+2Whm8WjY7PurJcg4EZuycEoVYViu4w@mail.gmail.com \
    --to=dov.grobgeld@gmail.com \
    --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).