MCPcopy Index your code
hub / github.com/koding/kite / Float64

Method Float64

dnode/partial.go:96–99  ·  view source on GitHub ↗

Float64 is a helper to unmarshal a JSON Number.

()

Source from the content-addressed store, hash-verified

94
95// Float64 is a helper to unmarshal a JSON Number.
96func (p *Partial) Float64() (f float64, err error) {
97 err = p.Unmarshal(&f)
98 return
99}
100
101// Bool is a helper to unmarshal a JSON Boolean.
102func (p *Partial) Bool() (b bool, err error) {

Callers 3

MustFloat64Method · 0.95
newHeartbeatReqFunction · 0.80
SquareFunction · 0.80

Calls 1

UnmarshalMethod · 0.95

Tested by 1

SquareFunction · 0.64