All Products
Demos
Services
Blogs
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
Input
/
RadNumericTextbox rounding issue
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
Sean
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?
<
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
>
Dimo
Admin
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,
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.
Back to Top
Close