Basically, I want a ratio function - feed it two values, and it works out the ratio, without any decimals.
For example:
a = 50
b = 100
r = 1 : 2
or
a = 7
b = 942
r = 7 : 942 (because 7 doesn't go into 942)
I've searched this site and Google and I can't find anything
Any ideas?