-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NumericUpDown control #5318
Comments
I know this is an error in floating-point calculations |
value is double, should we consider making it decimal? |
I suggest adding up-for-grabs label because the solution to this issue seems pretty easy to me |
I think we should port |
Related: #4756 |
Describe the bug
When the NumericUpDown control is at a value of 5.6 and Increment is 0.01, if adjusted up, it will appear as 0.570000000000000001 instead of 0.57
Code
<NumericUpDown Value="0.56" Minimum="0" Maximum="10" Increment="0.01"/>
Expected behavior
The value should beThe value should be 0.57
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: