本文介绍了如何使用文本框输入获取VB.NET 2012中数字的百分比值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如:

4%= blah blah

2.5%=等等等等

2,500 * 2.5 %= blah blah

,值2,500将在文本框中输入,2.5%将自动乘以输入。



我尝试了什么:



尚未尝试任何东西。我只想先问一下,因为我要开始我们的顶点项目。



提前谢谢!

For example:
4% = blah blah
2.5% = blah blah
2,500 * 2.5% = blah blah
and the values 2,500 will be inputted in textbox and 2.5% will be automatically multiplied to the input.

What I have tried:

not yet tried anything. I just want to ask first because I'm going to start our capstone project.

Thanks in advance!

推荐答案


Percentage = 2500 * .025; // 2.5 / 100


这篇关于如何使用文本框输入获取VB.NET 2012中数字的百分比值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 10:56