func (d Decimal) RoundBank(places int32) Decimal {
	p := strconv.Itoa(int(places))

	return Decimal{
		decimal: d.decimal.RoundBank(places),
		vars:    roundBank + leftParen + p + rightParen + leftParen + d.vars + rightParen,
		formula: roundBank + leftParen + p + rightParen + leftParen + d.formula + rightParen,
	}
}
// RoundBank rounds the decimal to places decimal places.
// If the final digit to round is equidistant from the nearest two integers the
// rounded value is taken as the even number
//
// If places < 0, it will round the integer part to the nearest 10^(-places).
//
// Examples:
//
// 	   NewFromFloat(5.45).Round(1).String() // output: "5.4"
// 	   NewFromFloat(545).Round(-1).String() // output: "540"
// 	   NewFromFloat(5.46).Round(1).String() // output: "5.5"
// 	   NewFromFloat(546).Round(-1).String() // output: "550"
// 	   NewFromFloat(5.55).Round(1).String() // output: "5.6"
// 	   NewFromFloat(555).Round(-1).String() // output: "560"
//
RoundBank rounds the decimal to places decimal places.
If the final digit to round is equidistant from the nearest two integers the
rounded value is taken as the even number

If places < 0, it will round the integer part to the nearest 10^(-places).




// RoundBank rounds the decimal to places decimal places . // If the final digit to round is equidistant from the nearest two integers the // rounded value is taken as the even number // // If places < 0 it will round the integer part to the nearest 10^ ( - places ) . // // Examples : // // NewFromFloat ( 5 . 45 ) . Round ( 1 ) . String () // output : " 5 . 4 " // NewFromFloat ( 545 ) . Round ( - 1 ) . String () // output : " 540 " // NewFromFloat ( 5 . 46 ) . Round ( 1 ) . String () // output : " 5 . 5 " // NewFromFloat ( 546 ) . Round ( - 1 ) . String () // output : " 550 " // NewFromFloat ( 5 . 55 ) . Round ( 1 ) . String () // output : " 5 . 6 " // NewFromFloat ( 555 ) . Round ( - 1 ) . String () // output : " 560 " //
func (d Decimal) RoundBank(places int32) Decimal {
	p := strconv.Itoa(int(places))
	return Decimal{
		decimal: d.decimal.RoundBank(places),
		vars:    roundBank + leftParen + p + rightParen + leftParen + d.vars + rightParen,
		formula: roundBank + leftParen + p + rightParen + leftParen + d.formula + rightParen,
	}
}
func ( d Decimal ) RoundBank ( places int32 ) Decimal { p := strconv . Itoa ( int ( places ) ) return Decimal { decimal : d . decimal . RoundBank ( places ) , vars : roundBank + leftParen + p + rightParen + leftParen + d . vars + rightParen , formula : roundBank + leftParen + p + rightParen + leftParen + d . formula + rightParen , } }
RoundBank rounds the decimal to places decimal places.
RoundBank rounds the decimal to places decimal places .