In this guide
Start from the full totalsNotice the rounding effectLabel calculated fieldsKeep reporting questions separateDream’s published package totals use two decimal places in USD. Some internal averages produce more decimal places. Keep exact quoted money values and sufficient calculation precision, then round only the display needed for the task.
Start from the full totals
A 60-credit package is USD 95.40 and a 120-credit package is USD 178.80. Combined, that is USD 274.20 for 180 purchased credits. The weighted average is approximately USD 1.523333 per credit. Keeping the original totals makes the calculation reproducible even if the displayed average is shortened.
Notice the rounding effect
If the average is displayed as USD 1.52 and multiplied by 180, the result is USD 273.60, which is USD 0.60 below the original combined package cost. That difference is created by rounding the average before multiplication. It does not mean the published receipts are inconsistent.
| Calculation | USD result |
|---|---|
| 95.40 + 178.80 | 274.20 |
| 274.20 ÷ 180 | Approximately 1.523333 |
| Rounded 1.52 × 180 | 273.60 |
| Difference from original total | 0.60 |
Label calculated fields
Use headings such as displayed average and actual package total. Keep currency and quantity units visible. If additional actual costs are included, identify them separately. Do not silently change receipt totals so they match a rounded internal field.
Keep reporting questions separate
This guide explains arithmetic precision for a working record. It does not prescribe an accounting valuation method, tax treatment or customer price. A service-action calculation still requires the provider-confirmed consumption quantity. Round a derived figure in a way that remains honest about its purpose and limits.
Questions about this guide
Should I round the published package total to a whole dollar in the order record?
Preserve the actual quoted total and currency in the purchase record. A rounded planning summary can be separate and clearly labelled. Do not let a convenience display overwrite the amount needed to reconcile the actual order and payment.
