Skip navigation
Why 0.1 + 0.2 is NOT 0.3 ?
0:00 / 2:46

Why 0.1 + 0.2 is NOT 0.3 ?

Chai Aur Code

@ChaiCodeHQ11K followers

Visit on X
812 likesDownloadOriginal post

33,292 views

Why 0.1 + 0.2 is NOT 0.3 ?

8 Comments

Comments from the original post on X (Twitter)

  • DeepS's profile picture

    @deepanshu_s

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

    5 likes

  • N{உள்} Ram's profile picture

    @kumarnram

    Now I am curious to know how Excel does it correctly.

    4 likes

  • Kumar's profile picture

    @Kumar41130209

    Calculator shows 0.1+0.2 as 0.3

    3 likes

  • Nanak's profile picture

    @I_am_Nanak

    Perfectly explained!!

    3 likes

  • V_Aditya's profile picture

    @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 likes

  • Bhavay Nagpal's profile picture

    @BhavayNagpal1

    Amazing 🔥🔥

    2 likes

  • Prabhat Jaiswar's profile picture

    @Prabhat_J24

    Never thought about decimal values 😯

    1 like

  • Kedarnath Maskalle's profile picture

    @KmSays25

    Still everyone knows its wrong