Skip to content

Commit

Permalink
#55: Bugs in rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgora committed Jul 14, 2017
1 parent 62faaf4 commit e13d202
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ Maven:
Changelog:
====

### Version 3.1.1-SNAPSHOT:

- Fixed bug in divide operator, that caused:
ex: "10/4 = 2, and not 2.5",
"5/2 = 2, and not 2.5"
- Changed RoundinMode from HALF_UP, to HALF_EVEN
- Changed internal calculation type from BigDecimal to Double


### Version 3.1.0:


Expand Down Expand Up @@ -191,4 +182,12 @@ Changed package names from
public CalculationEngine getDefaultEngine() {
return new CalculatorEngine(StrategiesUtil.DEFAULT_OPERATORS, StrategiesUtil.DEFAULT_FUNCTIONS);
}
```
```

### Version 3.2.1-SNAPSHOT:

- Fixed bug in divide operator, that caused:
ex: "10/4 = 2, and not 2.5",
"5/2 = 2, and not 2.5"
- Changed RoundinMode from HALF_UP, to HALF_EVEN
- Changed internal calculation type from BigDecimal to Double

0 comments on commit e13d202

Please sign in to comment.