float voltage = analogRead (pin) * 5.0 / 1024 ;
Will be a start. Then find the right options to print the 3 dp's.