Returns the rounding difference between:
- the value displayed in a "Currency + Euro" control,
- the associated control used for dual display.
// Retrieve the rounding difference between the "EDT_PriceFranc" control
// that displays the values in francs and the "EDT_PriceEuro" control that displays
// the same values converted into Euros
ResRoundingDifference = eRoundDifference(EDT_PriceFranc)
Syntax
<Result> = eRoundDifference(<Control used>)
<Result>: Currency
- Rounding difference between the specified control and the associated control used for dual display.
This difference is expressed in the currency with the lowest currency value. This currency value depends on the exchange rate and on the number of decimal places. - 0 if no rounding difference is found or if the specified control has no associated control for dual display.
<Control used>: Control name
Name of the "Currency + Euro" edit control or column.
Remarks
Maximum rounding differences
The table below presents the maximum rounding differences caused by the conversion operations for each member state:
| | | | |
| Maximum rounding difference |
---|
| Conversion rate (1EURO = ... x NCU) | Smallest unit of national currency | Conversion: NCU - EURO - UNC expressed in NCU | Conversion: EURO - NCU - EURO expressed in EURO |
BEF/LUF | 40.3399 | 1.00 | 0.00 | 0.01 |
DEM | 1.95583 | 0.01 | 0.01 | 0.00 |
ESP | 166.386 | 1.00 | 1.00 | 0.00 |
FRF | 6.55957 | 0.01 | 0.03 | 0.00 |
IEP | 0.787564 | 0.01 | 0.00 | 0.01 |
ITL | 1936.27 | 1.00 | 10.00 | 0.00 |
NLG | 2.20371 | 0.01 | 0.01 | 0.00 |
ATS | 13.7603 | 0.01 | 0.07 | 0.00 |
PTE | 200.482 | 0.10 | 1.00 | 0.00 |
NCU: National Currency Unit.