Question : round() method in MFC

I want to round a double value to nearest integer value in MFC. How to round it?
Thanks all.

Answer : round() method in MFC

Sigh!

int i = (int)round( 14.6 );

/rob
Random Solutions  
 
programming4us programming4us