Module:String2: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(add function to iteratively convert values to percentages) |
(store just the string) |
||
Line 130: | Line 130: | ||
return x .. "%" |
return x .. "%" |
||
end |
end |
||
txt = txt:gsub("%d[%d%.]*", v2p) -- store just the string |
|||
return txt |
|||
end |
end |
||