Hi
I've got to compare two double values and the number of decimal places in each is not fixed... I'd like to compare them and say that if they're equal up to 4 decimal places, they're equivalent...
What would be the best way to do this?
Thanks!
-Justin
I've got to compare two double values and the number of decimal places in each is not fixed... I'd like to compare them and say that if they're equal up to 4 decimal places, they're equivalent...
What would be the best way to do this?
Thanks!
-Justin