Calculating Ratios

I have an app and I am trying to calculate ratios based off 2 or 3 inputs. At the moment I cant find a way to formulate this, without a large data set of each possible least common dominator and a function to run off of that. And then if the inputs happen to be fractions I am stuck on that also.

Does anyone have a trick or way to calculate a ratio. For example 184:54 etc…? or 12% to 45%

This topic was automatically closed after 70 days. New replies are no longer allowed.