Description
Convert feeMinor-minus-rebateMinor and subtract it from roundedNetMinor for gapMinor.
Financial accounting arithmetic tracks amounts, balances, fees and allocations on a declared currency and sign basis. An algebraically consistent result does not authorize a transaction or establish an amount legally due.
Convert feeMinor-minus-rebateMinor and subtract it from roundedNetMinor for gapMinor.
When to use this tool
Use Fee Rebate Currency Rounding Gap when you need a specified monetary balance or allocation calculation.
How to use the tool and how it works
- Enter feeMinor, rebateMinor, conversion, roundedNetMinor. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read exactNetMinor, gapMinor. Use the output convention below.
Require positive conversion. Convert feeMinor-minus-rebateMinor and subtract it from roundedNetMinor for gapMinor.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| feeMinor | Fee Minor | Required. Safe integer. |
| rebateMinor | Rebate Minor | Required. Safe integer. |
| conversion | Target minor units per source minor unit, including currency decimal-scale differences. | Required. Finite number; strictly above 0. |
| roundedNetMinor | Rounded Net Minor | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| exactNetMinor | Exact Net Minor | Required. Finite number. |
| gapMinor | Gap Minor | Required. Finite number. |
{
"input": {
"feeMinor": 100,
"rebateMinor": 25,
"conversion": 1.5,
"roundedNetMinor": 113
},
"output": {
"exactNetMinor": 112.5,
"gapMinor": 0.5
}
} Limitations and assumptions
- The conversion maps source minor units to target minor units, so currency scale differences must already be included. The tool compares supplied rounding rather than applying it.
- 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
Reconcile source ledgers and governing agreements using the intended currency precision and accounting policy. Include omitted fees, tax, timing and legal requirements before acting on a result.
References
Similar or alternative tools
- Transaction Fee Rebate Net Charge
Subtract rebate and flag credit when the net is negative.
- Bond Coupon Split Rounding Reserve Tool
Floor each supplied coupon allocation in minor units and preserve the unallocated reserve.