% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core.R
\name{fmt_dist}
\alias{fmt_dist}
\title{Format a distance in metres as a human-readable km string}
\usage{
fmt_dist(x_m)
}
\arguments{
\item{x_m}{Distance in metres}
}
\value{
Character string
}
\description{
Adapts precision to magnitude: "23.6 km" for large values,
"0.067 km" for small ones, so tiny test geometries don't show "0 km".
}
\keyword{internal}
