RadNumericTextBox issue

2 posts, 0 answers
  1. James James.Goodridge
    James James.Goodridge avatar
    2 posts
    Member since:
    Aug 2008

    Posted 25 Mar 2009 Link to this post

    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?

  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 30 Mar 2009 Link to this post

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