round down to 2 decimal in python September 5, 2023 by Tarik Seems like you need the floor: import math math.floor(a * 100)/100.0 # 28.26