MCPcopy Create free account
hub / github.com/kataras/iris / strParseFloat32

Function strParseFloat32

context/strconv.go:99–106  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

97}
98
99func strParseFloat32(value string) (float32, error) {
100 result, err := strconv.ParseFloat(value, 32)
101 if err != nil {
102 return 0, err
103 }
104
105 return float32(result), nil
106}
107
108func strParseFloat64(value string) (float64, error) {
109 result, err := strconv.ParseFloat(value, 64)

Callers 1

PostValueFloat32Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…