VB中代数式的计算怎么做?
以下是我的代码却一直输出不了我想要的值PrivateSubCommand1_Click()DimA,B,C,D,E,FAsStringA=Text1.TextB=Text...
以下是我的代码 却一直输出不了我想要的值
Private Sub Command1_Click()
Dim A, B, C, D, E, F As String
A = Text1.Text
B = Text2.Text
C = A + B
D = A - B
E = C / D
Text3.Text = E
End Sub 展开
Private Sub Command1_Click()
Dim A, B, C, D, E, F As String
A = Text1.Text
B = Text2.Text
C = A + B
D = A - B
E = C / D
Text3.Text = E
End Sub 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询