如何在控件中显示十进制值?(How to display Decimal value in control?)
我使用telerik:radnumerictextbox控件给出十进制输入,我需要输入十进制十进制输入,但radnumerictextbox默认显示值10.00,如何设置属性获取十进制值。
这是我在客户端使用的代码。
<telerik:radnumerictextbox ID="txtDirectTime" ShowSpinButtons="True" InterceptArrowKeys="True" Step="5" MinValue="0" runat="server">提前致谢。
I am using telerik:radnumerictextbox control for giving decimal input, I need to give input in decimal like 10, but radnumerictextbox displays value by default 10.00, how to set the property to get decimal value.
This is the code i am using in client side.
<telerik:radnumerictextbox ID="txtDirectTime" ShowSpinButtons="True" InterceptArrowKeys="True" Step="5" MinValue="0" runat="server">Thanks in advance.
最满意答案
尝试这个
<telerik:RadNumericTextBox runat="server" ID="YourTextBox" NumberFormat-DecimalDigits="2" />有关RadNumericTextBox更多信息,请访问此处 。
Try this
<telerik:RadNumericTextBox runat="server" ID="YourTextBox" NumberFormat-DecimalDigits="2" />For more on RadNumericTextBox visit here.
更多推荐
radnumerictextbox,十进制,using,decimal,电脑培训,计算机培训,IT培训"/> <meta name
发布评论