float to int for payments