MCPcopy Create free account
hub / github.com/araddon/qlbridge / NumberValue

Method NumberValue

value/value.go:481–481  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479func (m IntValue) Val() int64 { return m.v }
480func (m IntValue) MarshalJSON() ([]byte, error) { return marshalFloat(float64(m.v)) }
481func (m IntValue) NumberValue() NumberValue { return NewNumberValue(float64(m.v)) }
482func (m IntValue) ToString() string {
483 if m.v == math.MinInt32 {
484 return ""

Callers 3

timeSecondsEvalFunction · 0.45
evalBinaryFunction · 0.45
TestIntValueFunction · 0.45

Calls 1

NewNumberValueFunction · 0.85

Tested by 1

TestIntValueFunction · 0.36