Python str to int bug in POIN price. int(t_dia) changed to int(float(t_dia))