help-octave
[Top][All Lists]
Advanced

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

Re: converting strings to ratio


From: Andreas Weber
Subject: Re: converting strings to ratio
Date: Sun, 6 Oct 2019 20:41:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Am 06.10.19 um 20:22 schrieb harish3679:
> I need to convert x =  5.1962 to ratio eg., x = 25981/5000. How does it work
> in octave?

octave:> rats (5.1962)
ans =   821/158

HTH, Andy



reply via email to

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