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

Function FormatFloatGrouped

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

Source from the content-addressed store, hash-verified

172}
173
174func FormatFloatGrouped(f float64, prec int) string {
175 return formatFloatString(strconv.FormatFloat(f, 'f', maxi(1, prec), 64), prec, true)
176}
177
178func formatBigRat(r *big.Rat, prec int) string {
179 return formatFloatString(r.FloatString(prec), prec, false)

Callers 5

setTextFromValueMethod · 0.85
ValidateMethod · 0.85
lvWndProcMethod · 0.85
updateTextMethod · 0.85
ParseFloatFunction · 0.85

Calls 2

formatFloatStringFunction · 0.85
maxiFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…