func encode(lat, lng float64) float64 { return float64(geohash.EncodeIntWithPrecision(lat, lng, maxBitDepth)) }
func ExampleEncodeIntWithPrecision() { fmt.Printf("%08x\n", geohash.EncodeIntWithPrecision(48.858, 2.294, 32)) // Output: d0139d52 }