Closed MurzNN closed 2 years ago
The behavior you are describing only works if you set "Use comma as decimal separator" and not "Ignore dots in numbers". Otherwise these operations yield different results.
I guess I could provide the same options as well.
The behavior you are describing only works if you set "Use comma as decimal separator" and not "Ignore dots in numbers".
Yes, this is default Qalculate! app settings. Thanks for implementing same options!
This works for me with the latest release of libqalculate without any changes to the applet. Could you check this again?
Confirm, it works.
Hmm, for me it still doesn't work with current setup, but now shows the different result:
And the same on full Qalculate app with default settings:
And on full app I can turn on the "Use comma as decimal separator" option to fix this, but plasmoid doesn't have such setting.
Maybe such results depend on locale? I have those settings:
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=hy_AM
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=hy_AM
LC_NAME=hy_AM
LC_ADDRESS=hy_AM
LC_TELEPHONE=hy_AM
LC_MEASUREMENT=hy_AM
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
Try this plasmoid setting:
Yeah, it works! And even with both variants - 1.5
and 1,5
, cool!
Qalculate! full app recognize both symbols as decimal separators (
.
and,
), example:but plasma-applet-qalculate accepts only dot (
.
), and ignore,
symbol:Can you please fix this problem?