[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: math round woes

From: Andreas Schwab
Subject: Re: math round woes
Date: Sat, 30 Aug 2014 11:57:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux)

Ivan Kanis <address@hidden> writes:

> (require 'calc-arith)
> (math-round 586514472.354) -> 586514472.354
> I looked at math-round and it calls math-trunk:
> (math-trunk 1.1) -> 1.1
> What's going on?

Since you are calling an internal calc function you need to use its
internal number representation (and s/k/c/).


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]