Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
36 Online
I would like to display my answer in 2 decimal places, instead of 15 or so. How can I do that?
Still Need Help?
Join the QuestionCove community and study together with friends!
round(variableName, 2) the two is the decimal places
awesome, thanks!
do I need to import for that?
nope
thankyou!
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
xjacob:
what do you guys think is better sad music or like rock, or sum thing?
xjacob:
I got in trouble for talking at home lmao what should I do?
AsianPanda08:
Why do people with asthma need to breathe air of the opposite weather. For me, I need to breathe cold air to help me when its hot.
xXAikoXx:
I sang a small part of Camellia Flower Lady by Lee Mi-ja (I sang in Korean)
28 minutes ago
7 Replies
0 Medals
9 minutes ago
15 Replies
2 Medals
18 hours ago
4 Replies
0 Medals
10 hours ago
18 Replies
3 Medals