Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.82k stars 146 forks source link

"ignore dot" setting is not recognized #669

Closed lkintact closed 2 months ago

lkintact commented 3 months ago

Run qalc.exe, type set ignore dot on and press Enter. Qualculate! says Unrecognized option. Did you mean "ignore dot"?.

OS: Windows 10 Home Qualculate! 5.1.1.

lkintact commented 3 months ago

I searched in user/qalc.cfg, and for some reason it had the line dot_as_separator=-1. Changing it to dot_as_separator=1 solved the issue.

hanna-kn commented 3 months ago

"ignore dot" is only recognized if dot is not used as default decimal separator (if comma is decimal separator). The problem was that the suggestion did not take this fact into account.