Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
H2CO3
· 11y ago · 0 comments
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).
Comments
[–]
cmiller1
11y ago
Oh! I didn't see it in the list of operators on the tutorial so I assumed it didn't.
[–]
H2CO3
OP
11y ago
No problem – documentation may still be somewhat incomplete at some places, sorry for that.