parsing amount to int