converted price into int