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

In problem set #1 question #1...For minPayment, they have "balance,2". What does the ",2" do???? ---"minPayment = round(minMonthlyPaymentRate * balance,2"---

OpenStudy (anonymous):

it's another parameter for the `round` function. the function is of the form `round(value, digits)` So it will round to 2 digits after the decimal point

OpenStudy (anonymous):

Awesome, thanks a lot

OpenStudy (anonymous):

You're welcome =)

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!
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!