I like using bc in interactive mode as a calculator. However, it only accepts the period (.) as decimal separator but I am using the a German keyboard layout, so I only have the comma (,) available on the numpad. This is quite inconvenient when using bc single handed on the numpad, because I have to move my hand and search for the period key when entering decimal fractions.
So I am looking for a simple way to use bc on the numpad only.
Some possibilities I see right now:
- Changing keyboard layout to English for bc
- Replacing comma with period during input
- Changing the decimal separator in bc
I would be grateful for any ideas.