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

RadNumericTextbox rounding issue

1 Answer 63 Views
Input
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 2
Sean asked on 05 Mar 2010, 07:27 PM
If I put the following text box on a page, run it and enter 5.556 into the input box, it changes to 5.5600000005 when the control loose focus.  Why is it not changing to just 5.56?  The settings seem correct, what am I missing?

<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Type="Currency">  
            <NumberFormat AllowRounding="true" DecimalDigits="2" KeepNotRoundedValue="false" /> 
        </telerik:RadNumericTextBox> 
    </div> 
    </form> 
</body> 
</html> 
 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Mar 2010, 12:59 PM
Hi Sean,

This problem is fixed in the latest official version (Q3 2009 SP2 - 2009.3 1314), please consider upgrading.

Best wishes,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
Sean
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or