MCPcopy Create free account
hub / github.com/brimdata/super / toFloat

Function toFloat

runtime/sam/expr/eval.go:393–393  ·  view source on GitHub ↗
(val super.Value)

Source from the content-addressed store, hash-verified

391}
392
393func toFloat(val super.Value) float64 { return coerce.ToNumeric[float64](val) }
394func toInt(val super.Value) int64 { return coerce.ToNumeric[int64](val) }
395func toUint(val super.Value) uint64 { return coerce.ToNumeric[uint64](val) }
396

Callers 5

compareNumbersFunction · 0.85
EvalMethod · 0.85
EvalMethod · 0.85
EvalMethod · 0.85
EvalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected