Hi, Peter

I suggest you to try :

count = ( 1001 x Voltage - 9891 ) / 8

Alain