Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/round-cumulative-breakdown.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 5.10.0

### Minor Changes

- dd0736b: `computeCumulativeValue` rounds its `breakdown` for display like its totals: each tier's `quantityUsed` to 2 decimals and its `totalAmountDecimal` to 2 decimals (`precision: 2`, as `total` is). A quantity normalised from a yearly consumption used to show as `83.333333 kWh` with an amount of `€28.333333333333`. `tierAmountDecimal` keeps the tier's real precision, and `totalWithPrecision` / `subtotalWithPrecision` are unchanged.

## 5.9.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/pricing",
"version": "5.9.2",
"version": "5.10.0",
"description": "Pricing Library",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
Expand Down
Loading