Jump to content

Arithmetic/Rational: Difference between revisions

m
(Lingo added)
Line 1,870:
----------------------------------------
on toString (me)
res =return me.num&"/"&me.denom
fp = the floatPrecision
the floatPrecision = 0
res = me.num&"/"&me.denom
the floatPrecision = fp
return res
end
 
Line 1,891 ⟶ 1,887:
 
----------------------------------------
-- Utility function/shortcutShortcut for creating 'frac' values
-- @param {integer} numerator
-- @param {integer} denominator
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.