get integer representation of price