I have 2 floating point numbers with different significant digits.
I want to round a floating point number from
0.832557389... to 0.83256000... so i can compare it to another double that holds the value 0.83256000... to see if they are equal. it sure would be nice if there was a floating point round function. my Microsoft help file shows rounding for other languages but not C++.
the modulo won't take a floating point number as an arguement and demote it automatically.
I can't believe there isn't a built in function to do this!! Any ideas?
thanks,
susan