Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
Using modulo in BASIC — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
BASIC Stamp
Using modulo in BASIC
Drew n Matt
Posts:
5
2010-02-25 16:51
edited 2010-02-25 16:59
in
BASIC Stamp
I know in java you can do 24%10 and it will return 4 because modulo gives the remainder. Is there a similar command in BASIC that will give me the remainder of the integer?
Comments
stamptrol
Posts:
1,731
2010-02-25 16:59
edited 2010-02-25 16:59
The Help file in the Editor software has explanantions of all commands and operators including "//", the Modulus operator.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
Sign In
or
Register
to comment.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·