Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ parseFloat
Function
parseFloat
bytes_safe.go:16–18 ·
view source on GitHub ↗
(b *[]byte)
Source
from the content-addressed store, hash-verified
14
}
15
16
func
parseFloat(b *[]byte) (float64, error) {
17
return
strconv.ParseFloat(string(*b), 64)
18
}
19
20
func
bytesToString(b *[]byte) string {
21
return
string(*b)
Callers
2
strconvParseFloat
Function · 0.70
ParseFloat
Function · 0.70
Calls
no outgoing calls
Tested by
1
strconvParseFloat
Function · 0.56