StringScaled first scales the decimal then calls .String() on it. Deprecated: buggy and unintuitive. Use StringFixed instead.
(exp int32)
| 1902 | // |
| 1903 | // Deprecated: buggy and unintuitive. Use StringFixed instead. |
| 1904 | func (d Decimal) StringScaled(exp int32) string { |
| 1905 | return d.rescale(exp).String() |
| 1906 | } |
| 1907 | |
| 1908 | func (d Decimal) string(trimTrailingZeros bool) string { |
| 1909 | if d.exp >= 0 { |