Hello again ^^
output: 3.14195 rounded = 3.1420Code:double rou=3.14195; printf("%f rounded = %.4f\n\n", rou, rou);
Is it posible for me to put a variable where the number 4 is?
So I can round up to x decimals instead of a constant?
Thanks for your time and help