[UWP] Number less than the min returned in Input.Number when user input is more than double precision #5452
Labels
Area-Inconsistency
Bugs around renderer inconsistencies across different platforms
Area-Inputs
Bug
Platform-XAML
Bugs or features related to Xaml Renderer
Resolution-Duplicate
Platform
What platform is your issue or question related to? (Delete other platforms).
Details
Using the card below, which has a min of 2.5, if the user inputs 2.4999999999999999, the validation passes and "2.4999999999999999" is returned as the value. Javascript and .NET also pass validation in this case, but both of those platforms return "2.5" in the submit (.NET updates the value in the UI to 2.5 as well). The JavaScript/.NET behavior is probably better here as we ideally don't want to send back number values technically less than the passed in min.
(I haven't tested the iOS/Android behavior)
Input.Number.Float.json:
The text was updated successfully, but these errors were encountered: