even and odd!!

Results 1 to 3 of 3

Thread: even and odd!!

  1. #1
    KatieG Guest

    Default even and odd!!

    Hi,<BR><BR>Is there a way of defining odd and even properties in VBscript??<BR><BR>If IsOdd do this...<BR><BR>Kate<BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: even and odd!!

    if (UrNumber Mod 2) = 0 then<BR>EVen<BR>else<BR>Odd<BR>endif

  3. #3
    KatieG Guest

    Default Thanx

    Thanks!<BR>I have forgotten basic maths and my intro to programming course!!<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts