Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 10 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
Arriyanalol: k
6 hours ago 2 Replies 2 Medals
shoko: if a eat dry wall is that safe
18 hours ago 2 Replies 0 Medals
Arriyanalol: Latto had her babygirl
1 day ago 1 Reply 1 Medal
clllaaaaaire: CLOSED
1 week 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!