Dec 26, 2006
Modulo in Erlang
The operator for modular arithmetic in Erlang is rem (for remainder). Took me a while to find that one.
Dec 26, 2006
The operator for modular arithmetic in Erlang is rem (for remainder). Took me a while to find that one.
The ‘usual’ % is the for comment…