summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/euroconv/calcdisplay.cpp40
-rw-r--r--noncore/tools/euroconv/currency.h10
2 files changed, 43 insertions, 7 deletions
diff --git a/noncore/tools/euroconv/calcdisplay.cpp b/noncore/tools/euroconv/calcdisplay.cpp
index 1659858..898de81 100644
--- a/noncore/tools/euroconv/calcdisplay.cpp
+++ b/noncore/tools/euroconv/calcdisplay.cpp
@@ -176,11 +176,27 @@ switch (iIndex){
break;
case 1: // FF: French Francs
- return(dValue*FF);
+ return(dValue*FRF);
break;
case 2: // DM: Deutch Mark
- return(dValue*DM);
+ return(dValue*DEM);
+ break;
+
+ case 3: // BEL Belgium Francs
+ return(dValue*BEF);
+ break;
+
+ case 4: // ITL Itialian Lire
+ return(dValue*ITL);
+ break;
+
+ case 5: // LUF Luxemburg
+ return(dValue*LUF);
+ break;
+
+ case 6: // IEP Irish Pound
+ return(dValue*IEP);
break;
default:
@@ -202,11 +218,27 @@ switch (iIndex){
break;
case 1: // FF: French Francs
- return(dValue/FF);
+ return(dValue/FRF);
break;
case 2: // DM: Deutch Mark
- return(dValue/DM);
+ return(dValue/DEM);
+ break;
+
+ case 3: // BEL Belgium Francs
+ return(dValue/BEF);
+ break;
+
+ case 4: // ITL Itialian Lire
+ return(dValue/ITL);
+ break;
+
+ case 5: // LUF Luxemburg
+ return(dValue/LUF);
+ break;
+
+ case 6: // IEP Irish Pound
+ return(dValue/IEP);
break;
}//switch (iIndex)
diff --git a/noncore/tools/euroconv/currency.h b/noncore/tools/euroconv/currency.h
index d9ee75c..6ca4d09 100644
--- a/noncore/tools/euroconv/currency.h
+++ b/noncore/tools/euroconv/currency.h
@@ -14,7 +14,11 @@
// 1 Euro equal....
#define EURO 1 // Euro
-#define FF 6.55957 // French Francs
-#define DM 1.9594 // Deutch Mark
+#define FRF 6.55957 // French Francs
+#define DEM 1.9594 // Deutch Mark
+#define BEF 40.3399 // Belgium Francs
+#define ITL 1936.27 // Italian Lire
+#define LUF 40.3399 // Luxemburg
+#define IEP 0.787564 // Irish Pound
-static const char* aCurrency[] = { "Euro", "FF", "DM", 0 };
+static const char* aCurrency[] = { "Euro", "FRF", "DEM", "BEF", "ITL", "LUF", "IEP", 0 };