"a"; // 0 echo [1, 2, 3] <=> [1, 2, 4]..." /> Please Explain What Is The Main Problem In Comparison Of Floating Point Numbers? "a"; // 0 echo [1, 2, 3] <=> [1, 2, 4]..." /> "a"; // 0 echo [1, 2, 3] <=> [1, 2, 4]..." />
Answers

Question and Answer:

  Home  Jnr PHP/Codeigniter Developer

⟩ Please explain what is the main problem in comparison of floating point numbers?

Explain the starship operator and why it returns the given output

echo 1.5 <=> 2.5; // -1

echo "a" <=> "a"; // 0

echo [1, 2, 3] <=> [1, 2, 4]; // -1

 141 views

More Questions for you: