func NewFromString(value string) (Decimal, error) {
	d, err := decimal.NewFromString(value)
	if err != nil {
		return Decimal{}, err
	}

	return Decimal{decimal: d, formula: d.String()}, nil
}
// NewFromString returns a new Decimal from a string representation.
// Trailing zeroes are not trimmed.
//
// Example:
//
//     d, err := NewFromString("-123.45")
//     d2, err := NewFromString(".0001")
//     d3, err := NewFromString("1.47000")
//
NewFromString returns a new Decimal from a string representation.
Trailing zeroes are not trimmed.




// NewFromString returns a new Decimal from a string representation . // Trailing zeroes are not trimmed . // // Example : // // d err : = NewFromString ( " - 123 . 45 " ) // d2 err : = NewFromString ( " . 0001 " ) // d3 err : = NewFromString ( " 1 . 47000 " ) //
func NewFromString(value string) (Decimal, error) {
	d, err := decimal.NewFromString(value)
	if err != nil {
		return Decimal{}, err
	}
	return Decimal{decimal: d, formula: d.String()}, nil
}
func NewFromString ( value string ) ( Decimal , error ) { d , err := decimal . NewFromString ( value ) if err != nil { return Decimal { } , err } return Decimal { decimal : d , formula : d . String ( ) } , nil }
NewFromString returns a new Decimal from a string representation.
NewFromString returns a new Decimal from a string representation .