Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 39 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
L8RVAL: Can anyone solve this problem for me? x + 142 = 16x + 7
14 hours ago 20 Replies 3 Medals
Sprite868: how to change profile pic PLZ HELP!!!!!!
10 hours ago 15 Replies 1 Medal
Sprite868: what is the biggest color that exists?
15 hours ago 7 Replies 1 Medal
DeadlyDiablo: Story Time!! Again, what y'all think?
14 hours ago 2 Replies 1 Medal
DeadlyDiablo: Story Time!!!! What y'all think?
15 hours ago 18 Replies 5 Medals
balencichronicals: https://www.secretmsg.link/secret/6647b7c9a865c/ dont be weird .
17 hours ago 0 Replies 0 Medals
Ash2746: How to deal with a friend who is pregnant?
17 hours ago 27 Replies 3 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!