Converting Analogue input to real value

it only reads 1,2,3,4,5,6,7,8,9,10,11,12,12,14 without the decimal place

That's because you are working with integers.