[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How is math-round different from other Calc functions?
From: |
Andreas Schwab |
Subject: |
Re: How is math-round different from other Calc functions? |
Date: |
Wed, 02 Feb 2022 09:29:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
On Feb 01 2022, Daniele Nicolodi wrote:
> it is possible to invoke Calc functions on quantities with units:
>
> (calc-eval "sqrt(4.0 g)")
> "2. sqrt(g)"
>
> However, it this does not work for round():
>
> (calc-eval "round(4.0 g)")
> "round(4. g)"
What do you expect to happen?
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."