Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: EUROCONVERT Rounds Number Up


View products that this article applies to.

This article was previously published under Q231015

↑ Back to the top


Symptoms

The result returned by the EUROCONVERT worksheet function may be rounded up.

↑ Back to the top


Cause

This behavior occurs when you do both of the following:
  • You set the Full_Precision argument to FALSE or 0.

    -and-
  • You set the Triangulation_Precision argument to 3.
For example, this problem occurs when you convert French francs to euros using the following formula:
=EUROCONVERT(100,"FRF","EUR",FALSE,3)
This formula returns 15.25.

However, if you set the Full_Precision argument to TRUE or 1 in the same formula, it will return 15.245.

↑ Back to the top


Workaround

If you want to round the result of the EUROCONVERT by setting the Full_Precision argument to FALSE, increase the value of the Triangulation_Precision argument. Using the example in the "Cause" section, setting the Triangulation_Precision to a value of 4 would cause the first formula to return 15.24 instead of 15.25.

↑ Back to the top


More information

The EUROCONVERT worksheet functions use the European Union (EU) members' conversion factors to express one euro in each of the euro member currencies. (See the help topic listed in the "References" section later in this article for a list of these euro member currencies.) Each EU rate has six significant digits. For example, one euro might be 6.55957 French francs or 1.95583 deutsche marks. When EUROCONVERT converts values to euros, it rounds the result to the nearest cent within two decimal places (each euro contains 100 cents). When converting to another currency, if the result is exactly half of the smallest unit, EUROCONVERT rounds up the result.

Discrepancies may result however, if you round the results. Using the Triangulation_Precision argument of the EUROCONVERT function helps to correct these rounding errors.

↑ Back to the top


References

For more information about the EUROCONVERT worksheet function, click Microsoft Excel Help on the Help menu, type EUROCONVERT worksheet function in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB231015, kbpending, kbprb

↑ Back to the top

Article Info
Article ID : 231015
Revision : 3
Created on : 11/5/2003
Published on : 11/5/2003
Exists online : False
Views : 216