interfacing to max127 and i2c

You need to divide that number by 16. It's a 12 bit A/D and the LSB is trailed by 4 zeroes.