MCPcopy Create free account
hub / github.com/andeya/algorithm / FormatFloat

Function FormatFloat

go-humanize/number.go:65–186  ·  view source on GitHub ↗

FormatFloat produces a formatted number as string based on the following user-specified criteria: * thousands separator * decimal separator * decimal precision Usage: s := RenderFloat(format, n) The format parameter tells how to render the number n. See examples: http://play.golang.org/p/LXc1Ddm1l

(format string, n float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

FormatIntegerFunction · 0.85
TestFormatFloatFunction · 0.85

Calls 1

ModfMethod · 0.80

Tested by 1

TestFormatFloatFunction · 0.68