numbers after the decimal point

So lets say i try to divide 10 by 3 (10 / 3) and the answer should be 3.33333(3)
how can i make the code to get me 4 numbers after decimal (3.3333)?
and tell me what i have to include :).

i got this:

int square;
square = ((b * b) - (4 * a * c));

Thanks !
You already posted this question 5 minutes ago, please don't spam.
Topic archived. No new replies allowed.