@mhoye And if you write your numbers in a Fibonacci base, converting between them simply becomes a shift (left for miles -> km, right for hm -> miles).
You can sort-of cheat and use binary numbers, as long as you never have two consecutive "1" (they'd add up and carry to the left), but doing addition that way is actually shockingly complicated.