Mage plugin fails with long decimals #3488
Labels
Needs-Author-Feedback
The original author of the issue/PR needs to come back and respond to something
Product-PowerToys Run
Improved app launch PT Run (Win+R) Window
Environment
Steps to reproduce
Just enter any decimal in PowerToys Run, and add more and more "0" at the end, such as:
0.100000000000000000000
,0.200000000000000000000000
Expected behavior & Actual behavior
The result should be 0.1 when I type

0.100000000000000000000
, but not0.007766279631452241
.I know it might be the problem with the datatype
float
ordouble
, but I cannot really stand the result. I think the datatype should be more ACCURATE.Screenshots
[Screenshots are in the context.]
The text was updated successfully, but these errors were encountered: