Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 36 Online
OpenStudy (anonymous):

I would like to display my answer in 2 decimal places, instead of 15 or so. How can I do that?

OpenStudy (anonymous):

round(variableName, 2) the two is the decimal places

OpenStudy (anonymous):

awesome, thanks!

OpenStudy (anonymous):

do I need to import for that?

OpenStudy (anonymous):

nope

OpenStudy (anonymous):

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!
Latest Questions
xjacob: What's your guys favorite music
20 minutes ago 4 Replies 1 Medal
EdwinJsHispanic: What can I do when I'm talking to fine shyat
32 minutes ago 9 Replies 0 Medals
xjacob: I got in trouble for talking at home lmao what should I do?
9 minutes ago 15 Replies 2 Medals
breiadabrattzz: I need help to make a theme -
4 minutes ago 13 Replies 0 Medals
AsianPanda08: Does anyone know how to change the background of this?
5 hours ago 2 Replies 0 Medals
curriful: Black QuestionCove Theme (WIP)
3 hours ago 20 Replies 1 Medal
Nina001: How do I make an image my background
18 hours ago 0 Replies 0 Medals
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!