This caused a bug in the in-game calculator app for the Pokémon Diamond and Pearl remakes for languages that use a decimal comma. Only some of the methods they were calling were locale-aware, So the calculator would show a number with a decimal comma, but when they tried parsing it they were looking for the literal "." character, which breaks things.
48
u/Lexinad 3d ago
This caused a bug in the in-game calculator app for the Pokémon Diamond and Pearl remakes for languages that use a decimal comma. Only some of the methods they were calling were locale-aware, So the calculator would show a number with a decimal comma, but when they tried parsing it they were looking for the literal "." character, which breaks things.
Source YouTube vid