Cambios

9 bytes añadidos ,  07:11 27 feb 2023
sin resumen de edición
Línea 22: Línea 22:  
--replace space with dot
 
--replace space with dot
 
--Problem: ES doesn't add a space for 4 digits
 
--Problem: ES doesn't add a space for 4 digits
local temp = {mw.ustring.gsub(tostring(result), "%s" , "")}  
+
local temp = {mw.ustring.gsub(tostring(formattedresult), "%s" , "")}  
 
local temp2 = string.sub(tostring(temp[1]), -3)
 
local temp2 = string.sub(tostring(temp[1]), -3)
 
return string.sub(tostring(formattedresult), 1, #formattedresult-3) .. "." .. temp2
 
return string.sub(tostring(formattedresult), 1, #formattedresult-3) .. "." .. temp2
106 449

ediciones