0
How can i printf 4.42 instead of 4.43, like 4.4289767->4.42 not 4.43
3 Answers
+ 1
bå dấo , then this could help you : https://www.geeksforgeeks.org/g-fact-41-setting-decimal-precision-in-c/
+ 1
bå dấo , in which programming language? Anyway in many languages there is round method/function to achieve it.
0
I use C language