Android Question Double strange problem

Discussion in 'Android Questions' started by wizard699, Jul 19, 2015.

  1. wizard699

    wizard699 Member Licensed User

    Erel why

    Dim tot as Double

    tot = 10.30 + 5.80 + 5.80

    At the end ... tot is not equal to 21.90 but to 21.900000002 ????
    Why????
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. wizard699

    wizard699 Member Licensed User

    Thnks a lot Erel and good Sunday
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice