RadNumericTextbox rounding issue

2 posts, 0 answers
  1. Sean
    Sean avatar
    11 posts
    Member since:
    Oct 2008

    Posted 05 Mar 2010 Link to this post

    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?

        <form id="form1" runat="server">  
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
            <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Type="Currency">  
                <NumberFormat AllowRounding="true" DecimalDigits="2" KeepNotRoundedValue="false" /> 
  2. Dimo
    Dimo avatar
    8485 posts

    Posted 08 Mar 2010 Link to this post

    Hi Sean,

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

    Best wishes,
    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.
Back to Top