PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Maximum rounding differences
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 Name>)
<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 Name>: Character string (with or without quotes)
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 UNC)
Smallest unit of national currencyConversion:
UNC - EURO - UNC
expressed in UNC
Conversion:
EURO - UNC - 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
UNC: Unit of National Currency.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Linux wd230std.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment