The % operator has mod naming in ReScript, but its semantics are remainder (like JavaScript %).
%
mod
It supports int, float, and bigint.
int
float
bigint
let result = mod(7, 4)