NaN when using comma as decimal numbers separator
Bug description
I'm using the Italian locale, which uses the comma as decimal number separator instead of the dot. Kalk handles the comma correctly as output (e.g. if I type "2/5" it outputs "0,4", with the comma), but not as input (e.g. if I type "0,4 * 3" it outputs "nan"). If I explicitly type the dot separator it works correctly, but it's uncomfortable when chaining operations (e.g. typing in "2/5", pressing enter, then multiplying by 4).
I'm not sure if I have to post this issue here, but I've checked bugs.kde.org and I haven't found a section for Kalk, only for the old KCalc.
System information
- App version: 22.02 (from AUR)
- OS: EndeavourOS
- Kernel: 5.17.4-zen1-1-zen
Edited by Mattia Orlandi