This is a migrated thread and some comments may be shown as answers.

RadNumericTextBox issue

1 Answer 58 Views
Input
This is a migrated thread and some comments may be shown as answers.
James James.Goodridge
Top achievements
Rank 1
James James.Goodridge asked on 25 Mar 2009, 02:10 PM
I am using Telerik.Web.UI.dll version 2008.3.1314.35.

If I add a RadScriptManager and a RadNumericTextbox to a web form as below

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="sm" runat="server" EnableScriptCombine="true" EnablePartialRendering="true"></telerik:RadScriptManager>
<div>
    <telerik:RadNumericTextBox ID="rntUpDown" runat="server" Type="Number" ShowSpinButtons="true" ButtonsPosition="Right">
    <NumberFormat AllowRounding="false" KeepNotRoundedValue="true" DecimalDigits="2" />
</telerik:RadNumericTextBox>
    </div>
    </form>
</body>

I then run the website and type 16.67 into the input area of the RadNumericTextbox.....if I press the up arrow this increments by 1 ie 17.67,18.67. However, if I press the down arrow, once I get below the initially typed in value I get 15.670000000000001
instead of the expected 15.67.

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 30 Mar 2009, 08:38 AM
Hello James,

I want to assure you that we are aware of this behavior. Our developers will investigate the problem as soon as possible.

Best regards,
Daniel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Input
Asked by
James James.Goodridge
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or