f = frac(2,3)
put f.toString()
-- "2/3"
-- fractions are normalized on the fly
f = frac(4,6)
-- casting integer to frac
f = frac(23)
-- "23/1"