Thursday, June 12, 2014

19 mod 5 <<< Does this ring a bell

If I typed

ival = 19 mod 5
msgbox "The answer is " & ival

or what would I get for

 22 mod 10

Read about the mod operator here     Sorry no clues, this is good to work out.

If you head to vb123.com, choose the Index words Key (see picture), and type Mod, you will find a few articles where Mod is used.



No comments: