Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. $x = 50
  2. $y = 50.0000
  3. //$x and $y are equal but still its showing the wrong result.
  4. if($x==$y){
  5. echo "Yes";
  6. }
  7. else{
  8. echo "No";
  9. }
  10.  
  11. Actual result : No
  12. Required result : Yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement