Huh? :ehh: What? :confused:
:eek:
MSDN Posts
Printable View
Huh? :ehh: What? :confused:
:eek:
MSDN Posts
The test was for INTEGER's (which he apparently still missed)
(notice my question from the beginning (in red) about 1.41?) :wave:
Code:Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim test = Val(TextBox1.Text)
If test <> 0 And test < 10 Then
If test = Int(test) Then
MsgBox(100 * test & " on progressbar")
Else
If test < 1.41 Then
MsgBox("1000 on progressbar")
Else
MsgBox("invalid number")
End If
End If
Else
MsgBox("invalid number")
End If
End Sub
End Class
The list of "(which he apparently still missed)" is long and not so distinguished.
Many people, me included, have given him a great piece of advice, get a book, read the on-line tutorials, learn the basics.
I had a math teacher in 7th grade that announce the first day of class that whoever wrote out the answer to this question on notebook paper automatically got an "A" in class.
this was in the days of 8 digit calculators.Quote:
9 ^ 9 ^ 9
I think we just Aced it!
do you post at vbforums?
i am dbasnett or ttensabd if i am banned ;)