getBatteryVoltage() cubecell AB02

On the Cubecell AB02 to convert the value of the getBatteryVoltage() to actual volts is it
getBatteryVoltage()/1024 or do you also have to take in to account the referance voltage?

I think getBatteryVoltage()/1000!

Thanks, Hmm. that seemed a little high, My one is reporting 4056 (with the USB dissconnected).
Its a 3.7V 400mAh LiPo so would have expected it to have been a little lower than that.

The measured voltage is millivolts, ie “getBatteryVoltage()/1000” volts, but there will be some errors.