distance: int -> float