PDA

View Full Version : Using modulo in BASIC



Drew n Matt
02-26-2010, 12:51 AM
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?

stamptrol
02-26-2010, 12:59 AM
The Help file in the Editor software has explanantions of all commands and operators including "//", the Modulus operator.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk

http://www.siskconsult.com