4 ms·
Alternatively: multiply by ten, convert to hex, and read off as a fixed point value with 4 fractional bits. 1km = 10 = 0xA = 10/16 mile = 0.625 miles (actual:
by to3m 10y ago
Alternatively: multiply by ten, convert to hex, and read off as a fixed point value with 4 fractional bits.
1km = 10 = 0xA = 10/16 mile = 0.625 miles (actual: 0.621371)
2.5km = 25 = 0x19 = 1 and 9/16 miles = 1.5625 miles (actual: 1.55343)
(If it isn't obvious where the 1.6 went, you probably won't regret figuring it out.)