Calculated Distance and Word to Digit