convert amount to integer before devision