(s string)
| 774 | } |
| 775 | |
| 776 | func parseFloat(s string) (float64, error) { |
| 777 | if strings.ContainsAny(s, "pP_") { |
| 778 | return 0, fmt.Errorf("unsupported character in float") |
| 779 | } |
| 780 | return strconv.ParseFloat(s, 64) |
| 781 | } |
no outgoing calls
no test coverage detected