Jan-16-2019, 09:20 PM
How do I format a variable to a standard money format? This is what I am currently doing:
total = 214.5467 print('Your total is: $' + str(total)[0:4])Problem is, it only puts out 3 digits, meaning most of the number will be ignored. What commands do I need to use to fix this?