PMOD
Learn how to use the PMOD math function in PlaidCloud Lakehouse. Returns the positive modulus of dividing two numbers - see syntax, examples, and output.
Returns the positive modulus of dividing two numbers.
Analyze Syntax
func.pmod(<x>, <y>)
Analyze Examples
func.pmod(-10, 3)
┌───┐
│ 2 │
└───┘
SQL Syntax
PMOD(<x>, <y>)
SQL Examples
SELECT PMOD(-10, 3);
┌───┐
│ 2 │
└───┘