MCPcopy Create free account
hub / github.com/labstack/gommon / FormatDecimal

Function FormatDecimal

bytes/bytes.go:209–211  ·  view source on GitHub ↗

FormatDecimal wraps global Bytes's FormatDecimal function.

(value int64)

Source from the content-addressed store, hash-verified

207
208// FormatDecimal wraps global Bytes's FormatDecimal function.
209func FormatDecimal(value int64) string {
210 return global.FormatDecimal(value)
211}
212
213// Parse wraps global Bytes's Parse function.
214func Parse(value string) (int64, error) {

Callers 2

TestBytesFormatFunction · 0.85
TestFloatsFunction · 0.85

Calls 1

FormatDecimalMethod · 0.80

Tested by 2

TestBytesFormatFunction · 0.68
TestFloatsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…