Cambios

Ir a la navegación Ir a la búsqueda
20 bytes eliminados ,  05:59 31 may 2023
sin resumen de edición
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
107 287

ediciones

Menú de navegación