% This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it. ## Modulus `%` [esql-mod] :::{image} ../../../images/operators/mod.svg :alt: Embedded :class: text-center ::: Divide one number by another and return the remainder. If either field is [multivalued](/reference/query-languages/esql/esql-multivalued-fields.md) then the result is `null`. :::{include} ../types/mod.md :::