src/Formatter/Coordinate/DecimalDegrees.php
public function format(Coordinate $coordinate): string
    {
        return sprintf(
            '%.' . $this->digits . 'f%s%.' . $this->digits . 'f',
            $coordinate->getLat(),
            $this->separator,
            $coordinate->getLng()
        );
    }
public function format(Coordinate $coordinate): string
    {
        return sprintf(
            '%.' . $this->digits . 'f%s%.' . $this->digits . 'f',
            $coordinate->getLat(),
            $this->separator,
            $coordinate->getLng()
        );
    }
@param Coordinate $coordinate

@return string