Whatever happened to EUROCONVERT?

by Michael S. Kaplan, published on 2011/02/04 07:01 -05:00, original URI: http://blogs.msdn.com/b/michkap/archive/2011/02/04/10124683.aspx

The question that came to me via the Contacting Michael... link was:

What happened to all of the Euro conversion precision work? Why hasn't it been updated?

Ah, life without questions you wish no one ever asked would be so very very dull, would it not? :-)

Let me start by saying that I am not a lawyer, and that my knowledge of the currency market and the conversion thereof would shame me in front of my friend Monica were it not for the fact that she already knows I am retarded in such matters.

In fact my primary skill in these matters is in not bouncing checks!

So while you may be reading this for amusement, entertainment, or education, if there are legal or compliance reasons that you are seeking this information you should consider making contact with someone who know what they are taking about when it comes to financial matters as a prt of their professional responsibilities.

With all that said, let me explain....

You see, when the Euro first came out there was a lot of concern about all of the various pieces of financial information stored in programs like Excel and Access.

And given the varying exchange rates between the different currencies, there was more than a little stress surrounding the way one would do the conversion between these currencies and the Euro.

Thus in Excel the EUROCONVERT function was added (and in Access an object model method was added that makes the same underlying call).

It's description:

Converts a number to euros, converts a number from euros to a euro member
currency, or converts a number from one euro member currency to another by
using the euro as an intermediary (triangulation). The currencies available for
conversion are those of European Union (EU) members that have adopted the
euro. The function uses fixed conversion rates that are established by the EU.

The function signature:


You can get info on the parameters and how they work here in the docs. it goes on for some time about all it does relating to EU law and such.

Now what are the important points to keep in mind?

So how can a method presumably added for compliance be so marginalized by a Microsoft product, if Microsoft is not trying to get in trouble with the European Union?

A funny thing happened with all of these rules, you know.

Everybody hated them, they were insanely complicated and difficult to maintain.

Well, maybe not everybody. I mean, I don't know every single person.

But the people I talked to hated it all.

So the EU put together some formal guidelines that would scale better. Pages like this one explain it well, and given the way it stresses significant figures (rather than decimal points)it gets away from the need to define the bove info on decimal places to hang on to and such.

Now where does this leave the tool -- is it bogus now?

Actually, no. The old rules were applications of analogous principles, thus the same results would be returned either way. It's just that one way requires one to carry around a lot of per-currency table entries and get new entries as new currencies were added. The new method requires none of that....

You can think of it as the classic difference between an algorithmic vs. a table-based approach!

So the fact that EUROCONVERT/EuroConvert have not been updated but have been marginalized is really okay here. The EU moved on to doing things in a better way.

The above describes how the situation was explained to me; if it is wrong then my sin is in who I chose to believe. :-)

John Cowan on 4 Feb 2011 9:41 AM:

Well, someone has to carry around those 6-digit conversion factors just the same, and update them as new currencies are added to the euro area.

carlos on 4 Feb 2011 9:57 AM:

The explanation is much simpler than that.  This function was used for converting between the now defunct European currencies (Franc, Lira, Peseta, etc.) during to the transition to the Euro.  The conversion happened almost a decade ago, so nobody cares now how many Liras there were in a Deutsche Mark or whatever.

Michael S. Kaplan on 4 Feb 2011 10:28 AM:

Carlos, new countries have been added to the Euro zone since then, some this very year (Estonia, anyone?). This is an active issue.

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

go to newer or older post, or back to index or month or day