I'm writing my own software to manage my photo storage.
Within the EXIF data the camera stores it's exposure time in seconds.
So 1/60 is expressed as 0.0166666666666667.
Sites like Flickr are already able to convert this into the more friendler "1/60" format, but what is the formula to achieve this?
I.e, how to find out how many times the value will fit into 1.