Overview
SmartPM displays compression values using a specific calculation method. Understanding this calculation is important when working with compression data programmatically or when interpreting compression metrics.
Calculation Method
To determine the compression value displayed in SmartPM, use the following formula:
Compression (%) = (Value - 1) × 100
Steps:
- Take your compression value
- Subtract 1 from the value
- Multiply the result by 100
Examples
| Original Value | Calculation | SmartPM Display |
|---|---|---|
| 1.25 | (1.25 - 1) × 100 | 25% |
| 1.50 | (1.50 - 1) × 100 | 50% |
| 1.10 | (1.10 - 1) × 100 | 10% |
| 2.00 | (2.00 - 1) × 100 | 100% |
Implementation Note
When integrating with SmartPM or processing compression data, ensure your calculations follow this formula to maintain consistency with the values displayed in the SmartPM interface.