Change amount to integer.