It's a great function, but as with any decimal-to-floating-to-fraction code, the question will be how stable all possible conversions are. On what architectures will 1/8" really be encoded into something messy like 0.1249999302"?
-- [ e d @ h a l l e y . c c ]
Comment on Re: Convert feet to feet+inches+fraction