[pergola] get_min_max transform any float 0.34 into integer