I am having a bit of a struggle with the Modulus operator in Visual Studio. Here is the code for a small program I have written that is not running as it should. Please Advise.
Public Class frmMain
Private Sub btnExit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExit.Click
Private Sub btnCalculate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
'Calculate and display the number of filled vans and the number of people left without a ride
lblVans.Text = Val(txtPeople.Text) \ Mod 10