func NewDecimal(value ...decimal.Decimal) *Decimal {
	if len(value) > 0 {
		return &Decimal{
			value: value[0],
		}
	}
	return &Decimal{}
}
// NewDecimal creates and returns a concurrent-safe object for decimal type,
// with given initial value <value>.
NewDecimal creates and returns a concurrent-safe object for decimal type,
with given initial value .
// NewDecimal creates and returns a concurrent - safe object for decimal type // with given initial value <value > .
func NewDecimal(value ...decimal.Decimal) *Decimal {
	if len(value) > 0 {
		return &Decimal{
			value: value[0],
		}
	}
	return &Decimal{}
}
func NewDecimal ( value ... decimal . Decimal ) * Decimal { if len ( value ) > 0 { return & Decimal { value : value [ 0 ] , } } return & Decimal { } }
NewDecimal creates and returns a concurrent-safe object for decimal type,
with given initial value .
NewDecimal creates and returns a concurrent - safe object for decimal type with given initial value .