Colin Adan

Colin Adan

  • NA
  • 13
  • 0

Converting Decimals to Fractions

May 13 2007 3:20 PM
Hi everyone,

I am trying to convert decimal numbers to fractions. I did manage to get something working but then hit the problem of handling negative decimals.

Does anyone have a way of converting decimals to fractions? I need something to convert the following

decimal         convert to      fraction
1.2                                   1/5
1.36                                 4/11
2.25                                 5/4
etc etc

If you have anything I could use or better still point me towards an article that would be great. I have tried google but found nothing suitable :-(

Many thanks in advance
Colin

Answers (4)