func (d Decimal) Shift(s int32) Decimal {
	places := strconv.Itoa(int(s))
	return Decimal{
		decimal: d.decimal.Shift(s),
		vars:    shift + leftParen + places + rightParen + leftParen + d.vars + rightParen,
		formula: shift + leftParen + places + rightParen + leftParen + d.formula + rightParen,
	}
}
// Shift shifts the decimal in base 10.
// It shifts left when shift is positive and right if shift is negative.
// In simpler terms, the given value for shift is added to the exponent
// of the decimal.
Shift shifts the decimal in base 10.
It shifts left when shift is positive and right if shift is negative.
In simpler terms, the given value for shift is added to the exponent
of the decimal.
// Shift shifts the decimal in base 10 . // It shifts left when shift is positive and right if shift is negative . // In simpler terms the given value for shift is added to the exponent // of the decimal .
func (d Decimal) Shift(s int32) Decimal {
	places := strconv.Itoa(int(s))
	return Decimal{
		decimal: d.decimal.Shift(s),
		vars:    shift + leftParen + places + rightParen + leftParen + d.vars + rightParen,
		formula: shift + leftParen + places + rightParen + leftParen + d.formula + rightParen,
	}
}
func ( d Decimal ) Shift ( s int32 ) Decimal { places := strconv . Itoa ( int ( s ) ) return Decimal { decimal : d . decimal . Shift ( s ) , vars : shift + leftParen + places + rightParen + leftParen + d . vars + rightParen , formula : shift + leftParen + places + rightParen + leftParen + d . formula + rightParen , } }
Shift shifts the decimal in base 10.
Shift shifts the decimal in base 10 .