请教 溢出错误 应该怎么改 纯小白
Private Sub Command1_Click()Text4 = a / b
Text5 = Sin(Val(Text1.Text) * pi / 180)
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Dim a As Double
Dim b As Double
a = Sqr(Val(Text1.Text))
b = Val(Text2.Text) + Val(Text3.Text)
End Sub
来人教教阿,别光看不理我阿~~~
还有那个text5为什么老显示0
[此贴子已经被作者于2016-8-1 15:16编辑过]