MCPcopy Create free account
hub / github.com/devfeel/mapper / Float64

Method Float64

convert.go:46–48  ·  view source on GitHub ↗

Float64 string to float64

()

Source from the content-addressed store, hash-verified

44
45// Float64 string to float64
46func (f Convert) Float64() (float64, error) {
47 return strconv.ParseFloat(f.String(), 64)
48}
49
50// Int string to int
51func (f Convert) Int() (int, error) {

Callers 1

setFieldValueMethod · 0.80

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected