Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
How can I express a decimal such as 0.1845095405274387 as a fraction in its lowest terms?
Still another possibility:
A couple of bits of code for your consideration:
FromDigits@#/10^(Length@# - #2) & @@ RealDigits[0.1845095405274387]
Required, but never shown