Syntax Lookup

Enter some language construct you want to know more about.

%

This is the % operator (remainder semantics).

The % operator computes the remainder, like JavaScript %.

It supports int, float, and bigint.

Example

ReScriptJS Output
let intResult = 7 % 4
let floatResult = 7.5 % 4.0

References