Don't know about the electronic ones, but in the days of mechanical speedometers, the speed reading and mileage recorder were two separate items - so your mileometer may be correct...
Cheers,
Graham (G4FUJ)
Sold L44FOR 4/4 Giallo Fly '11 MINI Countryman Cooper D All4 '90 LR 90 SW