MCPcopy Create free account
hub / github.com/bndr/gotabulate / SetFloatFormat

Method SetFloatFormat

tabulate.go:328–331  ·  view source on GitHub ↗

Set Float Formatting will be used in strconv.FormatFloat(element, format, -1, 64)

(format byte)

Source from the content-addressed store, hash-verified

326// Set Float Formatting
327// will be used in strconv.FormatFloat(element, format, -1, 64)
328func (t *Tabulate) SetFloatFormat(format byte) *Tabulate {
329 t.FloatFormat = format
330 return t
331}
332
333// Set Align Type, Available options: left, right, center
334func (t *Tabulate) SetAlign(align string) {

Callers 1

TestSetFormatFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSetFormatFunction · 0.64