Converting Analogue input to real value

dxw00d:

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.

ok can you explain to me how to do it bearing in mind i am a bacon