用VB程序怎样判断两个数的大小

2024-12-26 20:19:33
推荐回答(2个)
回答1:

if int(text1.text)>int(text2.text) then
text3.text ="大数是:" & text1.text
else
text3.text ="大数是:" & text2.text
end if

回答2:

if a>b then msgbox "a>b"