0
How do I round off floating point numbers to my specific number of decimal places in C Language?
For example, printf(" this is a value %f\n ", 3.141592) 👆Round that off to make it 3.14
2 Respostas
+ 1
%.2f
For example, printf(" this is a value %f\n ", 3.141592) 👆Round that off to make it 3.14