Fixed integer division for distance value -> float division