help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: 1.75 -> 1-3/4


From: Emanuel Berg
Subject: Re: 1.75 -> 1-3/4
Date: Tue, 05 Jun 2018 20:08:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

tomas wrote:

>>> [1] https://www.emacswiki.org/emacs/RationalNumber
>>  Did you try it and get it to work for 1.75
>> -> 1-3/4?
>
> Well, as posted I'd expect 7/4, let's see...
>
>   scheme@(guile-user)> (rationalize
> (inexact->exact 1.75) 1/1000) $1 = 7/4
>
> So one'd need to muck around with floor and
> things...

Heh, I meant the rational.el in the URL
you posted!

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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