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

Function Commaf

go-humanize/comma.go:43–70  ·  view source on GitHub ↗

Commaf produces a string form of the given number in base 10 with commas after every three orders of magnitude. e.g. Comma(834142.32) -> 834,142.32

(v float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestCommafsFunction · 0.85
BenchmarkCommafFunction · 0.85

Calls 2

LenMethod · 0.65
StringMethod · 0.65

Tested by 2

TestCommafsFunction · 0.68
BenchmarkCommafFunction · 0.68