How to display ADC voltage on LCD Display

Note the .0 on the 1024 to force it to a float value.

There was already a .0 in the statement, so the 1024 value was dividing a float by an int, which will operate as expected. It is not strictly necessary for all operands to be the same type.