func strconv.ParseFloat
84 uses
strconv (current package)
atof.go#L690: func ParseFloat(s string, bitSize int) (float64, error) {
database/sql
convert.go#L458: f64, err := strconv.ParseFloat(s, dv.Type().Bits())
encoding/json
decode.go#L195: return strconv.ParseFloat(string(n), 64)
decode.go#L836: f, err := strconv.ParseFloat(s, 64)
decode.go#L1013: n, err := strconv.ParseFloat(s, v.Type().Bits())
encoding/xml
read.go#L643: ftmp, err := strconv.ParseFloat(strings.TrimSpace(string(src)), dst.Type().Bits())
flag
flag.go#L248: v, err := strconv.ParseFloat(s, 64)
fmt
scan.go#L781: f, err := strconv.ParseFloat(str[:p], n)
scan.go#L799: f, err := strconv.ParseFloat(str, n)
github.com/aws/aws-sdk-go/internal/ini
literal_tokens.go#L168: v.decimal, err = strconv.ParseFloat(string(raw), 64)
github.com/aws/aws-sdk-go/private/protocol
timestamp.go#L75: v, err := strconv.ParseFloat(value, 64)
github.com/aws/aws-sdk-go/private/protocol/rest
unmarshal.go#L227: f, err := strconv.ParseFloat(header, 64)
github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
unmarshal.go#L279: v, err := strconv.ParseFloat(node.Text, 64)
github.com/evanw/esbuild/internal/css_parser
css_decls.go#L247: if value, err := strconv.ParseFloat(token.Text, 64); err == nil {
css_decls.go#L252: if value, err := strconv.ParseFloat(token.DimensionValue(), 64); err == nil {
css_decls.go#L270: if value, err := strconv.ParseFloat(token.Text[:len(token.Text)-1], 64); err == nil {
css_decls.go#L573: if f, err := strconv.ParseFloat(token.PercentValue(), 64); err == nil {
css_decls.go#L599: if f, err := strconv.ParseFloat(token.Text, 64); err == nil {
css_decls.go#L605: if f, err := strconv.ParseFloat(token.PercentValue(), 64); err == nil {
github.com/evanw/esbuild/internal/js_lexer
js_lexer.go#L1791: value, _ := strconv.ParseFloat(text, 64)
js_lexer.go#L1919: value, _ := strconv.ParseFloat(text, 64)
github.com/go-redis/redis/v8
command.go#L261: f, err := strconv.ParseFloat(val, 32)
command.go#L280: return strconv.ParseFloat(val, 64)
command.go#L707: f, err := strconv.ParseFloat(cmd.Val(), 32)
command.go#L718: return strconv.ParseFloat(cmd.Val(), 64)
github.com/go-redis/redis/v8/internal/util
strconv.go#L18: return strconv.ParseFloat(BytesToString(b), bitSize)
github.com/go-redis/redis_rate/v9
rate.go#L105: retryAfter, err := strconv.ParseFloat(values[2].(string), 64)
rate.go#L110: resetAfter, err := strconv.ParseFloat(values[3].(string), 64)
rate.go#L141: retryAfter, err := strconv.ParseFloat(values[2].(string), 64)
rate.go#L146: resetAfter, err := strconv.ParseFloat(values[3].(string), 64)
github.com/golang/protobuf/proto
text_decode.go#L426: if x, err := strconv.ParseFloat(v, 32); err == nil {
text_decode.go#L436: if x, err := strconv.ParseFloat(v, 64); err == nil {
github.com/google/safehtml
urlset.go#L152: _, err := strconv.ParseFloat(metadataPrefix, 64)
github.com/jackc/pgtype
box.go#L53: x1, err := strconv.ParseFloat(str[:end], 64)
box.go#L61: y1, err := strconv.ParseFloat(str[:end], 64)
box.go#L69: x2, err := strconv.ParseFloat(str[:end], 64)
box.go#L76: y2, err := strconv.ParseFloat(str, 64)
circle.go#L51: x, err := strconv.ParseFloat(str[:end], 64)
circle.go#L59: y, err := strconv.ParseFloat(str[:end], 64)
circle.go#L66: r, err := strconv.ParseFloat(str, 64)
float4.go#L87: num, err := strconv.ParseFloat(value, 32)
float4.go#L201: n, err := strconv.ParseFloat(string(src), 32)
float8.go#L77: num, err := strconv.ParseFloat(value, 64)
float8.go#L191: n, err := strconv.ParseFloat(string(src), 64)
line.go#L53: a, err := strconv.ParseFloat(parts[0], 64)
line.go#L58: b, err := strconv.ParseFloat(parts[1], 64)
line.go#L63: c, err := strconv.ParseFloat(parts[2], 64)
lseg.go#L53: x1, err := strconv.ParseFloat(str[:end], 64)
lseg.go#L61: y1, err := strconv.ParseFloat(str[:end], 64)
lseg.go#L69: x2, err := strconv.ParseFloat(str[:end], 64)
lseg.go#L76: y2, err := strconv.ParseFloat(str, 64)
numeric.go#L396: f, err := strconv.ParseFloat(string(buf), 64)
path.go#L56: x, err := strconv.ParseFloat(str[:end], 64)
path.go#L64: y, err := strconv.ParseFloat(str[:end], 64)
point.go#L63: x, err := strconv.ParseFloat(parts[0], 64)
point.go#L68: y, err := strconv.ParseFloat(parts[1], 64)
point.go#L106: x, err := strconv.ParseFloat(parts[0], 64)
point.go#L111: y, err := strconv.ParseFloat(parts[1], 64)
polygon.go#L104: x, err := strconv.ParseFloat(str[:end], 64)
polygon.go#L112: y, err := strconv.ParseFloat(str[:end], 64)
github.com/jmespath/go-jmespath
functions.go#L815: conv, err := strconv.ParseFloat(v, 64)
github.com/lib/pq
array.go#L237: if b[i], err = strconv.ParseFloat(string(v), 64); err != nil {
encode.go#L123: f, err := strconv.ParseFloat(string(s), 64)
github.com/prometheus/common/expfmt
text_parse.go#L763: return strconv.ParseFloat(s, 64)
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
autoneg.go#L123: a.Q, _ = strconv.ParseFloat(sp[1], 32)
github.com/prometheus/common/model
value.go#L55: f, err := strconv.ParseFloat(string(b[1:len(b)-1]), 64)
value.go#L325: value, err := strconv.ParseFloat(f, 64)
github.com/prometheus/procfs
buddyinfo.go#L75: sizes[i], err = strconv.ParseFloat(parts[i+4], 64)
cpuinfo.go#L98: v, err := strconv.ParseFloat(field[1], 64)
cpuinfo.go#L142: v, err := strconv.ParseFloat(field[1], 64)
github.com/yuin/goldmark/parser
attribute.go#L280: f, err := strconv.ParseFloat(buf.String(), 10)
golang.org/x/oauth2
token.go#L113: if f, err := strconv.ParseFloat(s, 64); err == nil {
golang.org/x/pkgsite/devtools/cmd/css
main.go#L172: valueNum, err := strconv.ParseFloat(value, 32)
golang.org/x/pkgsite/internal/config
config.go#L66: if value, err := strconv.ParseFloat(valueStr, 64); err == nil {
golang.org/x/text/language
parse.go#L170: if w, err = strconv.ParseFloat(weight, 32); err != nil {
google.golang.org/api/googleapi
types.go#L99: v, err := strconv.ParseFloat(s, 64)
google.golang.org/protobuf/internal/encoding/defval
default.go#L98: v, err = strconv.ParseFloat(s, 64)
google.golang.org/protobuf/internal/encoding/json
decode_token.go#L133: f, err := strconv.ParseFloat(t.RawString(), bitSize)
google.golang.org/protobuf/internal/encoding/text
decode_token.go#L319: n, err := strconv.ParseFloat(t.str, 64)
decode_token.go#L342: n, err := strconv.ParseFloat(t.str, 64)
gopkg.in/yaml.v2
resolve.go#L134: floatv, err := strconv.ParseFloat(in, 64)
resolve.go#L164: floatv, err := strconv.ParseFloat(plain, 64)
text/template/parse
node.go#L657: f, err := strconv.ParseFloat(text[:len(text)-1], 64)
node.go#L688: f, err := strconv.ParseFloat(text, 64)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |