Skip to content

Returns the positive modulus of dividing two numbers.

func.pmod(<x>, <y>)
func.pmod(-10, 3)
┌───┐
2
└───┘
PMOD(<x>, <y>)
SELECT PMOD(-10, 3);
┌───┐
2
└───┘