I'm working on a calculator that deals with currency amounts and I'm trying to restrict the results to have only two decimal places. I've been scouring the web and have tried several things like converting to an integer, then back to a float and dividing by 100, etc but I haven't had luck yet.
Can anyone offer a suggestion? Thank you!
Can anyone offer a suggestion? Thank you!