Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2016-01-19 14:58:35

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Decimal to Fraction Converter

Rewritten in JavaScript: Decimal to Fraction Converter

Please test it out smile


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#2 2016-01-19 16:38:46

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 48,384

Re: Decimal to Fraction Converter

Hi MathsIsFun,

The Decimal to Fraction Converter works perfectly well! Brilliant work, MathsIsFun!!!


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

#3 2016-01-20 03:13:23

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Decimal to Fraction Converter

Hi;

Looks fine from here.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#4 2016-01-21 02:08:17

Relentless
Member
Registered: 2015-12-15
Posts: 631

Re: Decimal to Fraction Converter

Hello

It works well. However, I have noticed some idiosyncrasies with many digits and repeating digits. It seems indecisive about whether to count a pattern as recurring or not when it repeats over 30 times, sometimes doing so, usually not. Also, every now and again (with over 30 digits) the greatest common factor is negative.

I think it is convenient that there is a way for it to interpret patterns as recurring, though

Last edited by Relentless (2016-01-21 02:12:28)

Offline

#5 2016-01-23 16:03:29

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Re: Decimal to Fraction Converter

Thank you Relentless!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

Board footer

Powered by FluxBB