in JAVA by
Q:
What will this return 3*0.1 == 0.3? true or false?

► Click here to show 1 Answer

0 votes
by

This is one of the really tricky questions. Out of 100, only 5 developers answered this question and only of them have explained the concept correctly. The short answer is false because some floating point numbers can not be represented exactly.

JAVA
Learn More with Madanswer

Related questions

0 votes
asked Jun 7, 2019 in Data Handling using R by tempuser
...