(s string)
| 1000 | } |
| 1001 | |
| 1002 | func parseFloat(s string) (float64, error) { |
| 1003 | if strings.ContainsAny(s, "pP_") { |
| 1004 | return 0, errors.New("unsupported character in float") |
| 1005 | } |
| 1006 | return strconv.ParseFloat(s, 64) |
| 1007 | } |
no outgoing calls
no test coverage detected