Línea 37: |
Línea 37: |
| formattedprice = formattedprice .. fmlowprice | | formattedprice = formattedprice .. fmlowprice |
| elseif (tonumber(fmlowprice) < 10000) then | | elseif (tonumber(fmlowprice) < 10000) then |
− | local length = #(tonumber(fmlowprice)) | + | local length = #(fmlowprice) |
| local temp = string.sub(fmlowprice, -3) | | local temp = string.sub(fmlowprice, -3) |
| formattedprice = formattedprice .. string.sub(fmlowprice, 1, (length-3)) .. "." .. temp | | formattedprice = formattedprice .. string.sub(fmlowprice, 1, (length-3)) .. "." .. temp |
Línea 62: |
Línea 62: |
| | | |
| if (tonumber(fmhighprice) < 10000) then | | if (tonumber(fmhighprice) < 10000) then |
− | local length = #(tonumber(fmhighprice)) | + | local length = #(fmhighprice) |
| local temp = string.sub(fmhighprice, -3) | | local temp = string.sub(fmhighprice, -3) |
| formattedprice = formattedprice .. string.sub(fmhighprice, 1, (length-3)) .. "." .. temp | | formattedprice = formattedprice .. string.sub(fmhighprice, 1, (length-3)) .. "." .. temp |