318
edits
m (joinList: Minor optimisation) |
No edit summary |
||
Line 163: | Line 163: | ||
return minus .. int:reverse():gsub("^,", "") .. fraction | return minus .. int:reverse():gsub("^,", "") .. fraction | ||
end | end | ||
function p.formatNumber(frame) | |||
number = frame.args ~= nil and frame.args[1] or frame | |||
return p.formatnum(number) | |||
end | |||
function p.round(val, maxDigits, minDigits) | function p.round(val, maxDigits, minDigits) | ||
if(val == nil) then | if(val == nil) then |
edits