Module:PriceCalculator: Difference between revisions
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
-- Calculate and return rounded result | -- Calculate and return rounded result | ||
return math.floor(price * factor + 0. | return math.floor(price * factor + 0.0) | ||
end | end | ||