Cambios

62 bytes eliminados ,  06:02 31 may 2023
sin resumen de edición
Línea 34: Línea 34:  
else
 
else
 
--Spanish
 
--Spanish
if (tonumber(fmlowprice) < 1000) then
+
if (lowprice < 1000) then
 
formattedprice = formattedprice .. fmlowprice
 
formattedprice = formattedprice .. fmlowprice
elseif (tonumber(fmlowprice) < 10000) then
+
elseif (lowprice < 10000) then
 
local length = #(fmlowprice)
 
local length = #(fmlowprice)
 
local temp = string.sub(fmlowprice, -3)
 
local temp = string.sub(fmlowprice, -3)
Línea 58: Línea 58:  
formattedprice = formattedprice .. fmhighprice
 
formattedprice = formattedprice .. fmhighprice
 
else
 
else
--Spanish and highprice > 1000
+
--Spanish and highprice > 1000
temp = fmhighprice
+
if (highprice < 10000) then
  −
if (tonumber(fmhighprice) < 10000) then
   
local length = #(fmhighprice)
 
local length = #(fmhighprice)
 
local temp = string.sub(fmhighprice, -3)
 
local temp = string.sub(fmhighprice, -3)
106 358

ediciones