div

From The K Language Wiki
Div
x div y
Supported in K9

div is a named function in K9 which performs integer division. It divides y by x.

div is non-atomic, it only takes single integer atoms. It is equivalent to the function (_%) in most K dialects.

 2 div 3
1
 3 div 1
0
 5 div 4
0
 15 div 3
0
 3 div 15
5