Private sub Command1_Click()
Dim a As Single
Dim py As String
a= Val (Text1) (1)
If a>0 Then py =”正数”
If a=0 Then py=”零”
If a<0 Then py=”负数”
Label3.Caption=a(2)
End Sub