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 intResult = mod(7, 4) let floatResult = mod(7.5, 4.0)
Primitive Types