Description
Compare them literally and set comparable when they match or conversionKnown is true.
Historical money records depend on a denomination system, period, source, and conversion basis. Exact minor-unit arithmetic can preserve a recorded amount, while a supplied conversion factor does not establish purchasing power or a market exchange rate.
Compare them literally and set comparable when they match or conversionKnown is true.
When to use this tool
Use Historical Price Unit Reference Flag when you need to preserve, format, or convert a supplied historical money component under its stated convention.
How to use the tool and how it works
- Enter recordedUnit, referenceUnit, conversionKnown. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read sameUnit, comparable. Inspect sameUnit, comparable before interpreting the associated values.
Require nonempty recordedUnit and referenceUnit. Compare them literally and set comparable when they match or conversionKnown is true.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordedUnit | Recorded Unit | Required. Text; maximum UTF-16 length 8192. |
| referenceUnit | Reference Unit | Required. Text; maximum UTF-16 length 8192. |
| conversionKnown | Conversion Known | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| sameUnit | Same Unit | Required. Boolean. |
| comparable | Comparable | Required. Boolean. |
{
"input": {
"recordedUnit": "bushel-local",
"referenceUnit": "bushel-standard",
"conversionKnown": false
},
"output": {
"sameUnit": false,
"comparable": false
}
} Limitations and assumptions
- The flag does not supply or apply a conversion, verify currency equivalence, or establish purchasing-power comparability across periods.
- 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.
Alternative or Complementary methods
Consult the original denomination and source record, and retain exact strings when large amounts must remain precise.
References
Similar or alternative tools
- Historical Unit Symbol Token
Return literal membership and its zero-based index, or index -1 when absent.
- Inflation Index Missing Base Gap
Rebase amount by target/source only when both known, otherwise return zero and list missing bases.