# Can calculator show decimal as fraction?

Some calculators can show a decimal as a fraction if applicable. eg. 1.333333 -> 1r1r3 on my calculator (hardware) representing \$1 \frac{1}{3}\$. Can the built in calculator do that? If not which (software) can?

* Whats wrong with my math?

-

You might be able to use Wolfram Alpha as an web application in a few days with 11.10. http://www.webupd8.org/2011/10/install-epiphany-320-with-web.html With 11.10 you can install epiphany and have Wolfram Alpha as a web application and have it saved as an launch-able icon in Unity. Hope this helps.

-

Giving below link to a bash script to do the above said http://advantage-bash.blogspot.in/2012/03/convert-decimal-to-fraction.html

-
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Seth Mar 1 '13 at 1:32