07-08-2008 11:33 AM
07-08-2008 11:52 AM
07-08-2008 11:52 AM
07-08-2008 11:54 AM
07-08-2008 12:05 PM
07-08-2008 12:07 PM
07-08-2008 12:10 PM
07-08-2008 12:29 PM
07-08-2008 01:05 PM
As Johnsold mentionned, converting a double to boolean can provide unexpected results.
Actually, this is not what I had in mind
because you would need to define "what is zero?" What about cases containing negatives?
So the best alternative would be to identify the range that would be considered zeros..
I don't have LV on this PC, so I couldn't open Johnsold's example, but I'm sure it should be a good one. 🙂
R
07-08-2008 01:54 PM - edited 07-08-2008 01:54 PM
Here's a slighly simpler version (where epsilon is a small positive number):