AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de gestión del euro
  • Maximum rounding differences
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
eRoundDifference (Function)
In french: eDifférenceArrondi
Returns the rounding difference between:
  • the value displayed in a "Currency + Euro" control,
  • the associated control used for dual display.
Example
// 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 currencyConversion:
NCU - EURO - UNC
expressed in NCU
Conversion:
EURO - NCU - EURO
expressed in EURO
BEF/LUF40.33991.000.000.01
DEM1.955830.010.010.00
ESP166.3861.001.000.00
FRF6.559570.010.030.00
IEP0.7875640.010.000.01
ITL1936.271.0010.000.00
NLG2.203710.010.010.00
ATS13.76030.010.070.00
PTE200.4820.101.000.00
NCU: National Currency Unit.
Component: wd290std.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local