I need to round down and it should be two decimal places. Tried the following,
a = 28.266 print round(a, 2)
28.27 <
28.27
Seems like you need the floor:
floor
import math math.floor(a * 100)/100.0 # 28.26