Numeral System Mode

This mode contains buttons and functions to calculate in binary, hexadecimal, octal and decimal.

You select the numeral system with the radio buttons on the right. To insert a hexadecimal number for example, just do the following: Select Hex from the radio buttons. Then enter a number and note, that you can use the letters A to F for numbers larger than 9. If you would like to see this number in binary, just select Bin from the radio buttons.

Binary, octal and hexadecimal numbers can be displayed as groups of digits separated by whitespaces. Such grouping can improve readability of numbers. For example, hexadecimal number AF1C42 can be displayed as AF 1C 42 with separation every second digit. Grouping can be turned off or tweaked. Select SettingsConfigure KCalc... to bring up the configuration dialog and change the setting on General page as appropriate.

You may want to select Show Bit Edit from the Settings menu to see selected bits.

There are logic operators available in this mode. These operators are:

ButtonsFunction
ANDTwo numbers are logically anded
ORTwo numbers are logically ored
XORTwo numbers are logically exclusive ored
LshLeft shift the value
RshRight shift the value
CmpPerform a 1's complement

The second column holds the buttons with algebraic functions described in the Science mode section.

The third column with the buttons A to F is enabled only in Hex mode.