you are seeking for 2 integers x and y as x/y= around 0,236
So 0,236 * y = x. Thus you should multiply 0,236 by an integer (1 then 2 then 3, etc.) until you find another integer. That happens when you multiply 0,236 by 17, you find about 4 so the fraction is 4/17.
I don't believe there is a "pure" method to find this result. You have to do multiple tests.