Is there a modulus function?

Is there a command to take the arithmetic modulus? (

I realize that I can make my own fairly easily, but was wondering if there is already a built-in function.

Hello @Dillon_Solliday,

Yup! It is built-in with “%”

=100 % 3
returns 1

Also, I should note that it will retain the sign of the dividend, so:

=-100 % 3
returns -1




I saw you use % a while back – how did you learn that was built in? I’ve been using Remainder().

1 Like

Haha - I didn’t even know Remainder() existed! :upside_down_face::laughing: I think I just presumed % from Javascript.

1 Like