Modulo cannot be used in Formula notation mode
amix73 opened this issue · comments
Amix 68k commented
System:
Linux 4.14.71-1-MANJARO
XFCE
Short:
Having put Galculator 2.1.4 into Formula notation mode it is impossible to use MOD operation without workaround.
Detailed:
Entering 'mod' leads to 'mcos(' since the key 'o' triggers the insertion of 'cos(' into the editor line.
Hitting the button ONLY inserts 'm' which is syntactically wrong :
Which of course leads to a syntax error when evaluated:
Workaround:
A way to make it work is to copy a correct string, e.g., '7 mod 6' into the editor line:
Expected behavior:
Pressing the button MOD, or pressing the key 'm' should enter 'mod' into the formula editor line.