MCPcopy Create free account
hub / github.com/cockroachdb/apd / String

Method String

format.go:35–37  ·  view source on GitHub ↗

String formats x like x.Text('G'). It matches the to-scientific-string conversion of the GDA spec.

()

Source from the content-addressed store, hash-verified

33// String formats x like x.Text('G'). It matches the to-scientific-string
34// conversion of the GDA spec.
35func (d *Decimal) String() string {
36 return d.Text('G')
37}
38
39// lowestZeroNegativeCoefficientCockroach is the smallest co-efficient in
40// Cockroach supports using 0E<coefficient>.

Callers 7

TestSQLFunction · 0.95
FormatMethod · 0.95
TestNegFunction · 0.95
Int64Method · 0.95
Float64Method · 0.95
ValueMethod · 0.95
MarshalTextMethod · 0.95

Calls 1

TextMethod · 0.95

Tested by 2

TestSQLFunction · 0.76
TestNegFunction · 0.76