League\Geotools\Convert\Convert::toDMS PHP Method

toDMS() public method

Alias of toDegreesMinutesSeconds function.
public toDMS ( string $format = ConvertInterface::DEFAULT_DMS_FORMAT ) : string
$format string The way to format the DMS coordinate.
return string Converted and formatted string.
    public function toDMS($format = ConvertInterface::DEFAULT_DMS_FORMAT)
    {
        return $this->toDegreesMinutesSeconds($format);
    }