round down to 2 decimal in python

Seems like you need the floor:

import math
math.floor(a * 100)/100.0

# 28.26

Leave a Comment