Change type of amount