ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Euro functions
  • Maximum rounding differences
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Récupération de la différence d'arrondi entre le champ "SAI_PrixFranc"
// qui affiche les valeurs en Francs et le champ "SAI_PrixEuro" qui affiche
// les mêmes valeurs converties en Euros
ResDifférenceArrondi = eRoundDifference(SAI_PrixFranc)
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 UMN)
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
UMN: National Currency Unit.
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help