The K Desktop Environment

Chapter 3. Comments on Specific Functions

3.1. Mod and Inv Mod

Mod gives the remainder of dividing the displayed number by the next input number.

22 Mod 8 = will give the result 6

22.345 Mod 8 = will give the result 6.345

Inv Mod does integer divison of the displayed number by the next input number.

22 Inv Mod 8 = will give the result 2

22.345 Mod 8 = also gives 2.