i need a way to convert a decimal into a fraction, because decimal to fraction calculators are just terrible

an example is that i need a way to convert -1.164 into a fraction.

will someone give me a good way to do so?

OfficialBubbleTanks
Nov 8, 2017

#1**+3 **

-1.164

Forget the -1 part for a second

.164 = 164 / 1000 = 82 / 500 = 41 / 250

Since 41 is a prime number [ and doesn't divide 250 ] we can stop at this point

So..... - .1.164 =

- [ 1 + 41/ 250 ] convert a mixed number to a fraction

- [ (250 * 1 + 41 ) / 250 ] = - 291/ 250

Hope that helps......!!!!

CPhill
Nov 8, 2017