Hacker News new | ask | show | jobs
by H2CO3 3868 days ago
Hi, author here. Sparkling does have a modulo operator, it's spelled '%', just as in C (in fact, it maps directly to C's % operator).
1 comments

Oh! I didn't see it in the list of operators on the tutorial so I assumed it didn't.
No problem – documentation may still be somewhat incomplete at some places, sorry for that.