MCPcopy Index your code
hub / github.com/lxn/walk / FormatFloat

Function FormatFloat

util.go:170–172  ·  view source on GitHub ↗
(f float64, prec int)

Source from the content-addressed store, hash-verified

168}
169
170func FormatFloat(f float64, prec int) string {
171 return formatFloatString(strconv.FormatFloat(f, 'f', prec, 64), prec, false)
172}
173
174func FormatFloatGrouped(f float64, prec int) string {
175 return formatFloatString(strconv.FormatFloat(f, 'f', maxi(1, prec), 64), prec, true)

Callers 1

setTextFromValueMethod · 0.85

Calls 1

formatFloatStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…