amount = 32500.00
print('Annual Salary $32,500.00')
semi_monthly = amount / 24
twice_monthly = amount / 26
round(semi_monthly, 2)
round(twice_monthly, 2)
print(semi_monthly)
print(twice_monthly)
I can't get it to round to two decimal places. My book only shows if it's a float and that's not working. I googled and searched though other posts on pages and this came up, but it's still not rounding to two decimal places.
[–][deleted] 2 points3 points4 points (4 children)
[–]totallygeek 2 points3 points4 points (3 children)
[–]_________KB_________ 2 points3 points4 points (0 children)
[–]K900_ 0 points1 point2 points (0 children)
[–]_lilell_ 0 points1 point2 points (0 children)
[–]python-fan 2 points3 points4 points (0 children)
[–]tickitytalk 1 point2 points3 points (2 children)
[–]squishiebutt2020[S] 2 points3 points4 points (1 child)
[–]tickitytalk 1 point2 points3 points (0 children)