i don't know how to make 1.6666667 to 1.6 only.. .
please someone help me. .
please! please! please!
if you want to [b]round[/b] the number, then you use "setprecision(<n>)" or the format specifier "%.<n>f" for "printf()" where <n> is the number of digits you want to round to. E.g., the value 1.66667 rounded to <n>=1 decimal place will be 1.7 but what you really want to do here … Read More
Edited by Nick Evan: n/a