SetString sets d to s and returns d. It has no restrictions on exponents or precision.
(s string)
| 178 | // SetString sets d to s and returns d. It has no restrictions on exponents |
| 179 | // or precision. |
| 180 | func (d *Decimal) SetString(s string) (*Decimal, Condition, error) { |
| 181 | return BaseContext.SetString(d, s) |
| 182 | } |
| 183 | |
| 184 | // NewFromString creates a new decimal from s. The returned Decimal has its |
| 185 | // exponents restricted by the context and its value rounded if it contains more |
no outgoing calls