I am new at this website and I hope I can be a good memeber.
I have a question about C programing language.
I need to change the decimal point of a double for example:
If I have a doubles with 5 decimal digits
I want to be able to change them to only 2 decimal point , for example:
or to 3 decimal point:
I am doing some testing and I want to investigate the result of more decimal digit in the final result. Is there any C function which does that??
Or Is there any easy way to do this??
Thank you guys.