Skip to content

Commit

Permalink
fix README entry for default precision
Browse files Browse the repository at this point in the history
  • Loading branch information
wadey committed Mar 9, 2011
1 parent db81f04 commit 2469d3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -16,7 +16,7 @@ To use libgeohash just run make. Link libgeohash.a and include geohash.h into yo
char* geohash_encode(double lat, double lng, int precision); char* geohash_encode(double lat, double lng, int precision);


Takes in latitude and longitude with a desired precision and returns the correct hash value. If Takes in latitude and longitude with a desired precision and returns the correct hash value. If
precision < 0 or precision > 20, a default value of 12 will be used. precision < 0 or precision > 20, a default value of 6 will be used.


### Decode ### Decode


Expand All @@ -41,4 +41,4 @@ below with each box representing the index of the array.


+ 7 0 1 + 7 0 1
+ 6 * 2 + 6 * 2
+ 5 4 3 + 5 4 3

0 comments on commit 2469d3c

Please sign in to comment.