Closed RandomUsername1315 closed 3 months ago
Fixed an issue where user-entered height and weight values that were too large would be rounded up to infinity. The fix ensures that when Kotlin automatically rounds a number to infinity, the previous valid entry is used instead.
@medwardson in theory it should be the exact same fix.
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 92.3% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
Bugfix
Fixed an issue where user-entered height and weight values that were too large would be rounded up to infinity. The fix ensures that when Kotlin automatically rounds a number to infinity, the previous valid entry is used instead.