简体   繁体   English

文本框-设置精度

[英]text box - setting the precision

i want to restrict the numbers to be entered on the text box to five precision 我想将要在文本框中输入的数字限制为五位精度

eg: 1234.52342 -1234.52342 例如:1234.52342 -1234.52342

how i can restrict while entering the numbers on the text box 在文本框上输入数字时如何限制

您还可以使用customvalidator控件对控件进行限制。.Telerik还具有一个数字文本框控件,您可以查看http://demos.telerik.com/aspnet-ajax/input/examples/radnumerictextbox/firstlook/defaultcs.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM