Why 0.1 + 0.2 is NOT 0.3 ?
Chai Aur Code
在 X 上查看@ChaiCodeHQ1.1万 位关注者
33,292 次观看
Why 0.1 + 0.2 is NOT 0.3 ?
8 条评论
评论来自 X (Twitter) 上的原帖

@deepanshu_s
I am surprised I never asked myself how decimals are stored as binary, wow you learn some new eventually !!
5 个赞

@kumarnram
Now I am curious to know how Excel does it correctly.
4 个赞

@Kumar41130209
Calculator shows 0.1+0.2 as 0.3
3 个赞

@I_am_Nanak
Perfectly explained!!
3 个赞

@Viswadityarao
So interesting. Different number systems have different properties (recurring /non recurring)(terminating/non terminating) for the same number. I work out the exact ruleset and reply here.
2 个赞

@BhavayNagpal1
Amazing 🔥🔥
2 个赞

@Prabhat_J24
Never thought about decimal values 😯
1 个赞

@KmSays25
Still everyone knows its wrong
