added rounding to multiples of a decimal

modifications as per the comments
This commit is contained in:
Pramod Nuthakki
2013-08-12 12:02:13 +05:30
parent 5ffafdef08
commit 2482978151
33 changed files with 453 additions and 161 deletions
@@ -6,9 +6,10 @@ public class MonetaryCurrencyBuilder {
private String code = "XOF";
private int digitsAfterDecimal = 0;
private Integer inMulitplesOf = null;
public MonetaryCurrency build() {
return new MonetaryCurrency(code, digitsAfterDecimal);
return new MonetaryCurrency(code, digitsAfterDecimal,inMulitplesOf);
}
public MonetaryCurrencyBuilder withCode(final String withCode) {