cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
numbers after the decimal point
numbers after the decimal point
Mar 14, 2011 at 5:22pm UTC
Hansikk
(6)
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 !
Mar 14, 2011 at 5:23pm UTC
hanst99
(2869)
You already posted this question 5 minutes ago, please don't spam.
Topic archived. No new replies allowed.