Description
Require integer decimalExponent in [-308, 308] and multiply value by 10^decimalExponent.
A proportion is a ratio with a defined numerator and denominator. Fractions, percentages, and per-mille values use different scales, while a signed deviation also depends on which value is treated as the reference.
Require integer decimalExponent in [-308, 308] and multiply value by 10^decimalExponent.
When to use this tool
Use Decimal Scaling Exponent Applier when you need a clearly defined ratio, retained share, or signed proportional component.
How to use the tool and how it works
- Enter value, decimalExponent. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read scaled. Use the output convention below.
Require integer decimalExponent in [-308, 308] and multiply value by 10^decimalExponent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| value | Numeric value on the basis stated in the calculation above. | Required. Finite number. |
| decimalExponent | Decimal Exponent | Required. Safe integer; minimum -308; maximum 308. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| scaled | Scaled | Required. Finite number. |
{
"input": {
"value": 12.5,
"decimalExponent": -2
},
"output": {
"scaled": 0.125
}
} Limitations and assumptions
- Calculation uses binary floating point; overflow is rejected by output checks and very small finite results can underflow to zero.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Write out the numerator, denominator, and reporting scale when comparing this result with another indicator.
References
Similar or alternative tools
- Polynomial Coefficient Decimal Scale Label
Parse a signed decimal coefficient token with optional fraction and exponent.
- Per Mille To Mass Fraction
Require perMille in [0, 1000] and divide by 1000 for massFraction.