[gnumeric] Add EEK support to EURO and EUROCONVERT.
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Add EEK support to EURO and EUROCONVERT.
- Date: Wed, 15 Dec 2010 05:19:10 +0000 (UTC)
commit 5bfc69056007f33235e8dbf6c4106a2126bde912
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Tue Dec 14 22:22:50 2010 -0700
Add EEK support to EURO and EUROCONVERT.
2010-12-14 Andreas J. Guelzow <aguelzow pyrshep ca>
* functions.c (help_euro): add EEK (Estonia)
(one_euro): add EEK
(euro_local_rounding): add EEK
NEWS | 1 +
plugins/fn-financial/ChangeLog | 6 ++++++
plugins/fn-financial/functions.c | 5 +++++
3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 0c815d7..23efaf7 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Andreas:
* Work around OpenOffice date formatting bugs. [#636131]
* Export text formats to and import from ODF. [#636158]
* Fix ODF import of sheets with far forward references. [#636968]
+ * Add EEK support to EURO and EUROCONVERT.
Jean:
* Only disable the formula bar when a chart sheet is selected. [#636031]
diff --git a/plugins/fn-financial/ChangeLog b/plugins/fn-financial/ChangeLog
index c3f58f2..7215cfc 100644
--- a/plugins/fn-financial/ChangeLog
+++ b/plugins/fn-financial/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-14 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * functions.c (help_euro): add EEK (Estonia)
+ (one_euro): add EEK
+ (euro_local_rounding): add EEK
+
2010-11-25 Morten Welinder <terra gnome org>
* Release 1.10.12
diff --git a/plugins/fn-financial/functions.c b/plugins/fn-financial/functions.c
index c4516ae..2f9671c 100644
--- a/plugins/fn-financial/functions.c
+++ b/plugins/fn-financial/functions.c
@@ -2007,6 +2007,7 @@ static GnmFuncHelp const help_euro[] = {
"BEF (Belgium), "
"CYP (Cyprus), "
"DEM (Germany), "
+ "EEK (Estonia), "
"ESP (Spain), "
"EUR (Euro), "
"FIM (Finland), "
@@ -2053,6 +2054,8 @@ one_euro (char const *str)
case 'E':
if (strncmp ("ESP", str, 3) == 0)
return GNM_const (166.386);
+ else if (strncmp ("EEK", str, 3) == 0)
+ return GNM_const (15.6466);
else if (strncmp ("EUR", str, 3) == 0)
return GNM_const (1.0);
break;
@@ -2140,6 +2143,8 @@ euro_local_rounding (char const *str)
case 'E':
if (strncmp ("ESP", str, 3) == 0)
return 0;
+/* else if (strncmp ("EEK", str, 3) == 0) */
+/* return 2; */
/* else if (strncmp ("EUR", str, 3) == 0) */
/* return 2; */
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]