Stack Overflow for Teams A private, secure home for your team’s questions and answers. M9 1a8 8 0 1 0 0 16A8 8 0 0 0 roundings bitcoin 1zm.
Janet, FYI, you need a blank line before your code sections. Or just highlight them and click the 1010 button. There’s a few ways to do this depending on how you want to hold the value. You can use basic string formatting, e. However, since you’re dealing with money you should look into the decimal module which has a cool method named quantize which is exactly for working with monetary applications.