How can this be true? (<) operator not working
Afficher commentaires plus anciens
I noticed there had to be a bug in some of my code so I went into the debugger. While in the debugger I noticed a while loop not terminating when it was supposed to. Here is the root of the problem:
increment =
1.0000e-01
K>> increment < .1
ans =
1
How can this be happening?
1 commentaire
Jason
le 11 Juil 2011
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 11 Juil 2011
2 votes
Catégories
En savoir plus sur Rubik's Cube dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!