You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a NumericUpDown control with a decimal interval (eg 0.01) and SnapToMultipleOfInterval=True, incrementing using buttons produces values not rounded as expected.
IMHO, Value should be rounded to the nearest interval on each increment, otherwise errors are cumulated.
(0.01 + 0.01 + 0.01 + 0.01 + 0.01 + 0.01) == (0.01 * 6) is false on my computer.
MahApps.Metro version 1.6.5
OS: Win7 Pro SP1
Visual Studio 2017 15.9.1
.NET Framework 4.7.1
The text was updated successfully, but these errors were encountered:
Using a NumericUpDown control with a decimal interval (eg 0.01) and SnapToMultipleOfInterval=True, incrementing using buttons produces values not rounded as expected.
IMHO, Value should be rounded to the nearest interval on each increment, otherwise errors are cumulated.
(0.01 + 0.01 + 0.01 + 0.01 + 0.01 + 0.01) == (0.01 * 6) is false on my computer.
The text was updated successfully, but these errors were encountered: