MCPcopy Create free account
hub / github.com/pingcap/tidb / GetFloat64

Method GetFloat64

pkg/types/json_binary.go:210–212  ·  view source on GitHub ↗

GetFloat64 gets the float64 value.

()

Source from the content-addressed store, hash-verified

208
209// GetFloat64 gets the float64 value.
210func (bj BinaryJSON) GetFloat64() float64 {
211 return math.Float64frombits(bj.GetUint64())
212}
213
214// GetString gets the string value.
215func (bj BinaryJSON) GetString() []byte {

Callers 2

marshalFloat64ToMethod · 0.95
GetValueMethod · 0.95

Calls 1

GetUint64Method · 0.95

Tested by

no test coverage detected