Description
Calculate the grant share of a supplied combined grant-and-loan amount.
Treaty and diplomatic records separate action labels, recorded conditions, versions, source locators and financial contributions. A set of true condition flags differs from a verified legal act or entry into force. Dates and translations need the authoritative record and applicable definitions before legal interpretation.
Calculate the grant share of a supplied combined grant-and-loan amount.
When to use this tool
Use Bilateral Aid Grant Loan Share when you already have grantAmount, totalGrantAndLoanAmount and need to calculate the grant share of a supplied combined grant-and-loan amount.
How to use the tool and how it works
- Enter grantAmount, totalGrantAndLoanAmount. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read fraction, remainder. Use the output convention below.
Require total>0 and grant within [0,total]; return grant/total and total-grant.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| grantAmount | Grant Amount | Required. Finite number; minimum 0. |
| totalGrantAndLoanAmount | Total Grant And Loan Amount | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fraction | Fraction | Required. Finite number. |
| remainder | Remainder | Required. Finite number. |
{
"input": {
"grantAmount": 30,
"totalGrantAndLoanAmount": 120
},
"output": {
"fraction": 0.25,
"remainder": 90
}
} Limitations and assumptions
- Amounts need matching units and period; no grant-equivalent valuation, financial terms or aid entitlement is determined.
- 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
Check the original treaty, notice, authentic text and status record when assessing an obligation or effective act. Reconcile full contribution ledgers and condition evidence; a local count, share or source-qualified key does not establish legal effect.
References
Similar or alternative tools
- Diplomatic Immunity Source Status Label
Preserve explicit diplomatic-status wording and its authority source.
- Agreement Article Paragraph Citation
Build an explicit agreement article-paragraph citation key.