如何在文本框中添加数字 [英] How to add numbers in a textbox

查看:235
本文介绍了如何在文本框中添加数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...

当你使用两个文本框时如何添加4 + 6,第一个文本框用于输入,另一个文本框用于输出..

解决方案

正如您在文章部分发布了一个问题,它正被移至Visual Basic论坛。


MODERATOR。


吐出字符串(4 + 6)并存储在两个变量中。然后添加它们并在其他文本框中显示结果。


如果2 + 3 + 3-4怎么办??

非常明智地仅使用1个txtbox。

Hi...
How to add 4+6 when you use two textbox, the first textbox is for the input and the other one if for the output..

解决方案

As you have posted a question in the articles section it is being moved to Visual Basic Forum.

MODERATOR.


Spit the string(4+6) and store in two variables. then add them and display result in other textbox.


What if 2+3+3-4.?
Very wise using 1 txtbox only.


这篇关于如何在文本框中添加数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆