Rounding and "as is"
This reference explains rounding and "as is".
Rounding can occur in the following cases:
-
Before a value is stored.
-
Before a value is used in calculations.
-
Before a value is displayed or returned via the API.
-
After values of the same type are aggregated (added) together.
If numbers are not rounded, they are referred to "as is."
Data types rounded "as is"
The following data types are rounded as is:
Data Type |
Prior to Storage |
Prior to Use |
After Aggregation |
Prior to Display/API |
Example |
---|---|---|---|---|---|
Price |
As Is |
As Is |
N/A |
As Is |
$3.479/Gallon |
Amount |
Rounded |
Rounded |
Rounded |
Rounded |
Extended Price of $36.67, Total Tax of $18.29 |
Metrics |
As Is |
As Is |
As Is |
Rounded |
MRR = $1533.333333333 |
Tax |
As Is |
As Is |
N/A (aggregated tax items are an amount) |
As Is |
Tax item of $12.1275 |
Quantity (Transaction) |
Rounded |
Rounded |
Rounded |
Rounded |
7.65 GB, 8 users |
Quantity (Tier) |
Rounded |
Rounded |
N/A |
Rounded |
Volume Pricing for 1-100 Units |
Quantity (Other) |
As Is |
Rounded |
Rounded |
As Is |
Usage Quantity Entered |