in reply to Re: My floating point comparison does not work. Why ?
in thread My floating point comparison does not work. Why ?
But I guess the round off operation is very costly and may not be a good solution when you are dealing with large sets of data to be compared.
When perfomance is a concern testing for the range is a better option than rounding off the numbers and then doing a string compare ( which is again costly !! )
-T
|
---|