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