Abrir menú principal
Inicio
Al azar
Acceder
Configuración
Acerca de Stardew Valley Wiki
Exoneraciones
Stardew Valley Wiki
Buscar
Cambios
← Edición anterior
Edición siguiente →
Módulo:Calcedibility
(ver código)
Revisión del 07:13 27 feb 2023
21 bytes añadidos
,
07:13 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(formattedresult), "%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
+
return temp[1]
end
end
Margotbean
Administradores de interfaz
, patroller,
Supresores
,
Administradores
, translators
106 465
ediciones