MCPcopy Create free account
hub / github.com/cisco/senml / float

Method float

senml.go:90–95  ·  view source on GitHub ↗
(f int)

Source from the content-addressed store, hash-verified

88}
89
90func (r record) float(f int) float64 {
91 if v, ok := r[f].(float64); ok {
92 return v
93 }
94 return 0
95}
96
97func (rec SenMLRecord) toRecord() record {
98 ret := record{}

Callers 1

fromRecordsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected