Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Updated documention?

I am writing an app where I needed to use modulo.
I looked at the documentation and found nothing (I expected to find it here:
I decided to just try it in the debugger and surprisingly it worked (
print 22 mod 20
resulted in 2!).
I went back to the forums and searched for "modulo". All I could find is a single forum thread -

Seems reasonable to me to expect that a feature that dates back more than 2 years would have been documented by now.

This brings me to the question - is there more updated documentation somewhere? Am I missing anything here?

This is not meant to be a rant, I would really like to hear an official Roku response.

0 Kudos
Level 8

Re: Updated documention?

In bright script it is an operator
a MOD b
My Channels: 2D API Framework Presentation:
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
Level 8

Re: Updated documention?

It's documented in section 3.7.6 of the Brightscript Language Reference.

0 Kudos
Level 9

Re: Updated documention? ... eOperators
My Channels: - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
Level 7

Re: Updated documention?

Thanks, I stand corrected, it is documented Smiley Happy
0 Kudos