The operator for modular arithmetic in Erlang is **rem** (for remainder). Took me a while to find that one.

Skip to content
# Modulo in Erlang

##
One Reply to “Modulo in Erlang”

### Leave a Reply

Adventures in Computer Programming – bakert@gmail.com

**rem** (for remainder). Took me a while to find that one.

The ‘usual’ % is the for comment…