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...