"""Ground distance from a map scale Composed by composer_v1 from typed moves; read back against its examples. expression of 5 moves; constants: centimetres per kilometre (SI)""" import math import re def _nums(code): return [float(x) for x in re.findall(r"\d+(?:\.\d+)?", str(code))] def compute(x1, x2): return (x1 * (x2 / 100000.0))