Arithmetic/Rational: Difference between revisions
Content deleted Content added
Lingo added |
|||
Line 1,870: | Line 1,870: | ||
---------------------------------------- |
---------------------------------------- |
||
on toString (me) |
on toString (me) |
||
⚫ | |||
fp = the floatPrecision |
|||
the floatPrecision = 0 |
|||
⚫ | |||
the floatPrecision = fp |
|||
return res |
|||
end |
end |
||
Line 1,891: | Line 1,887: | ||
---------------------------------------- |
---------------------------------------- |
||
-- |
-- Shortcut for creating 'frac' values |
||
-- @param {integer} numerator |
-- @param {integer} numerator |
||
-- @param {integer} denominator |
-- @param {integer} denominator |