如何获得不同文本框的最小值 [英] How to get minimum value of different textboxes

查看:105
本文介绍了如何获得不同文本框的最小值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在winform中的不同textboxes(文本被解析为double)上获得最小值?如果是这样,我们如何实现呢?

Is it possible to get the minimum value over different textboxes (the text is parsed to a double) in a winform? If so, how can we achieve this?

推荐答案

是.
将值(如您所说)解析为Doubles,然后使用 Math.Min [ ^ ]方法.
Yes.
Parse the values (as you say) to Doubles, then use the Math.Min[^] method.


这篇关于如何获得不同文本框的最小值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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