(self, d: pint.quantity.Quantity)
return format_float(self.m2u(d)) + " " + self.u()
Formats a distance using the locale specific float format and the selected unit.
Formats a distance using the locale specific float format and the selected unit.
Formats a distance using the locale specific float format and the selected unit .
def format_distance(self, d: pint.quantity.Quantity) -> str:
        """Formats a distance using the locale specific float format and the selected unit."""
        return format_float(self.m2u(d)) + " " + self.u()
def format_distance ( self , d : pint . quantity . Quantity ) -> str : return format_float ( self . m2u ( d ) ) + " " + self . u ( )