Modulu eztabaida:Date
Appearance
Hola Vriullop. Tenim un problema aquí. Els anys múltiples de 20 no han de portar la "e" epéntica, però el mòdul la col·loca. Suposo que per ser múltiples de 5 també. No sé com hauria de canviar la funció matemàtica. -Theklan · ·
09:33, 10 otsaila 2017 (UTC)
- ACTUALITZACIÓ: Sembla que amb aquesta funció funciona en tots els casos:
if math.fmod(year, 20) == 1 or math.fmod(year, 20) == 10 or math.fmod(year, 20) == 5 or math.fmod(year, 20) == 15 or math.fmod(year, 200) == 100 then suffix = "eko" else suffix = "ko" end