rajput-hemant / calculator

A Simple but elegant Calculator app made with Flutter using Google's Material Design with Currency (Exchange Rate) and Unit Converter.
GNU General Public License v3.0
65 stars 17 forks source link

.1+.1.+1 = 0.30000000000000004 #134

Open SMSourov opened 1 month ago

SMSourov commented 1 month ago

Screenshot_20241023-112315.jpg

rajput-hemant commented 1 month ago

this is an expected behavior, machines encounter difficulties working with floating-point numbers due to the limitations of the binary format For further information, please refer to the following video: https://youtu.be/PZRI1IfStY0 the only potential enhancement to the application i can think of is to update the precision digits, however the current behavior is also correct