String returns the string representation of the decimal with the fixed point. Example: d := New(-12345, -3) println(d.String()) Output: -12.345
()
| 1469 | // |
| 1470 | // -12.345 |
| 1471 | func (d Decimal) String() string { |
| 1472 | return d.string(true) |
| 1473 | } |
| 1474 | |
| 1475 | // StringFixed returns a rounded fixed-point string with places digits after |
| 1476 | // the decimal point. |