MCPcopy
hub / github.com/fogleman/ln / ParseFloats

Function ParseFloats

ln/util.go:30–37  ·  view source on GitHub ↗
(items []string)

Source from the content-addressed store, hash-verified

28}
29
30func ParseFloats(items []string) []float64 {
31 result := make([]float64, len(items))
32 for i, item := range items {
33 f, _ := strconv.ParseFloat(item, 64)
34 result[i] = f
35 }
36 return result
37}

Callers 2

LoadOBJFunction · 0.85
LoadSTLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected