Skip to content

Commit

Permalink
Merge pull request #90 from FelixMalfait/patch-1
Browse files Browse the repository at this point in the history
Handle locales where <? (string) 1.32  // 1,32 ?>
  • Loading branch information
njbarrett committed Nov 17, 2017
2 parents 65ae484 + ebc8cea commit defae81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Geometries/Point.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static function fromString($wktArgument)

public function __toString()
{
return $this->getLng() . ' ' . $this->getLat();
return sprintf('%F %F', $this->getLng(), $this->getLat());
}

/**
Expand Down

0 comments on commit defae81

Please sign in to comment.