Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. metalchrist1984

    Problems with double format

    Thank you SomptingGuy, It seems there is no a basic solution to this problem, so I will try to write my code in a different way, where it could be possible to store the values in different format to double, or using the round () function. Thank you very much.
  2. metalchrist1984

    Problems with double format

    In the other hand my question is: Should I trust in an application that gets this output??: floor (3.3-2.2-1.1) ans = -1 I think it is a basic operation, and it makes it wrong.
  3. metalchrist1984

    Problems with double format

    Thank you very much electricpete. Your solution works, but I prefer a more elegant one, because it is going to be a application to distribute. Thus, the operation that I do where I have that problem is more complex than 3.3-2.2-1.1, although it is the same problem, so if I use your solution the...
  4. metalchrist1984

    Problems with double format

    Hello everybody, I hope somebody can help me. If I write in the console the following then I get: >> 3.3-2.2-1.1 ans = -4.4409e-016 Instead of 0. Situations like that are making some important accuracy errors in my applications. How could I get a 0 using the double format please?? Thank...

Part and Inventory Search