Divisible Number Query

Results 1 to 2 of 2

Thread: Divisible Number Query

  1. #1
    Join Date
    Dec 1969

    Default Divisible Number Query

    Hi guys!,<BR><BR>How can I check if a particular number entered into a form is divisibla by a variable being stored in the database. e.g if the variable in the database is 2 and the number entered is 10 then the process occurs otherwise it returns an error stating that the number entered is not divisible by 2.<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default use MOD

    If (10 MOD 2 = 0) Then<BR>process<BR>Else<BR>Error<BR>End If

Posting Permissions

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