MCPcopy Create free account
hub / github.com/ajstarks/dchart / dformat

Function dformat

dchart.go:407–425  ·  view source on GitHub ↗

dformat returns the string representation of a float64 according to the datafmt flag value. if there is no fractional portion of the float64, override the flag and return the string with no decimals.

(datafmt string, x float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

pgridMethod · 0.85
radialMethod · 0.85
SlopechartMethod · 0.85
pmapMethod · 0.85
WbchartMethod · 0.85
HchartMethod · 0.85
VchartMethod · 0.85

Calls 1

commafFunction · 0.85

Tested by

no test coverage detected