setprecision function

When I use fixed and setprecision(3) for 2/11 it gives me 0.000. Why?
How can I get my numbers after the decimal point?
Thanks for your suggestions.
There are no fractions with integer math, therefor no digits after a decimal point, and remember 2/11 is integer math.
Topic archived. No new replies allowed.