Lines Matching refs:decimaldegrees
234 * @param float $decimaldegrees
238 private function convertLat(float $decimaldegrees): string argument
240 if (strpos($decimaldegrees, '-') !== false) {
245 $dms = $this->convertDDtoDMS(abs($decimaldegrees));
252 * @param float $decimaldegrees
256 private function convertDDtoDMS(float $decimaldegrees): string argument
258 $dms = floor($decimaldegrees);
259 $secs = ($decimaldegrees - $dms) * 3600;
269 * @param float $decimaldegrees
272 private function convertLon(float $decimaldegrees): string argument
274 if (strpos($decimaldegrees, '-') !== false) {
279 $dms = $this->convertDDtoDMS(abs($decimaldegrees));