(Jan-09-2018, 09:52 PM)metulburr Wrote:Quote:daily_payments = monthly_payments / 30what about months with 31 days?
I'm only just beginning Python. I've no idea how to deal with that.
(Jan-09-2018, 09:46 PM)Windspar Wrote:a = 123.456789 print "{0:.2f}".format(a)
old way
print "%.2f" % a
Thanks Windspar!