r15956 - gnucash/branches/2.0 - Bug#343795: Be explicit about number of months so auto-decimal-point doesn't bite us. Patch from Jerry Quinn <mailto:jlquinn at optonline.net>.
Derek Atkins
warlord at cvs.gnucash.org
Sat Apr 21 15:17:43 EDT 2007
Author: warlord
Date: 2007-04-21 15:17:40 -0400 (Sat, 21 Apr 2007)
New Revision: 15956
Trac: http://svn.gnucash.org/trac/changeset/15956
Modified:
gnucash/branches/2.0/
gnucash/branches/2.0/ChangeLog
gnucash/branches/2.0/src/gnome/druid-loan.c
Log:
Bug#343795: Be explicit about number of months so auto-decimal-point doesn't bite us. Patch from Jerry Quinn <mailto:jlquinn at optonline.net>.
Merge from r15777
Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
- 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:14355
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
+ 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:14578
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog 2007-04-21 18:44:15 UTC (rev 15955)
+++ gnucash/branches/2.0/ChangeLog 2007-04-21 19:17:40 UTC (rev 15956)
@@ -1,3 +1,9 @@
+2007-04-21 Joshua Sled <jsled at asynchronous.org>
+
+ * Bug#343795: Be explicit about number of months so auto-decimal-point
+ doesn't bite us.
+ Patch from Jerry Quinn <mailto:jlquinn at optonline.net>.
+
2007-04-20 Benoit Grégoire <bock at step.polymtl.ca>
* src/import-export/qif-import/test/Makefile.am: Fix compile
problem on Ubuntu.
@@ -86,7 +92,7 @@
Add sanity checks when accessing GncPluginPage. Fixes #405851 and
hopefully others.
-2007-02-04 Joshua Sled <jsled at asynchronous.org>
+2007-02-04 Joshua Sled <jsled at asynchronous.org><
Bug#168700: extension of fin.scm with cpd_{,i,p}pmt functions,
featuring variable compounding and consistent rounding functions.
Modified: gnucash/branches/2.0/src/gnome/druid-loan.c
===================================================================
--- gnucash/branches/2.0/src/gnome/druid-loan.c 2007-04-21 18:44:15 UTC (rev 15955)
+++ gnucash/branches/2.0/src/gnome/druid-loan.c 2007-04-21 19:17:40 UTC (rev 15956)
@@ -934,7 +934,7 @@
{
g_assert( ldd != NULL );
g_assert( gstr != NULL );
- g_string_append_printf( gstr, "pmt( %.5f / 12 : %0.2f : %0.2f : 0 : 0 )",
+ g_string_append_printf( gstr, "pmt( %.5f / 12.0 : %0.2f : %0.2f : 0 : 0 )",
(ldd->ld.interestRate / 100),
( ldd->ld.numPer
* ( ldd->ld.perSize == MONTHS ? 1 : 12 ) ) * 1.,
@@ -947,7 +947,7 @@
{
g_assert( ldd != NULL );
g_assert( gstr != NULL );
- g_string_printf( gstr, "ppmt( %.5f / 12 : i : %0.2f : %0.2f : 0 : 0 )",
+ g_string_printf( gstr, "ppmt( %.5f / 12.0 : i : %0.2f : %0.2f : 0 : 0 )",
(ldd->ld.interestRate / 100),
( ldd->ld.numPer
* ( ldd->ld.perSize == MONTHS ? 1 : 12 ) ) * 1.,
@@ -960,7 +960,7 @@
{
g_assert( ldd != NULL );
g_assert( gstr != NULL );
- g_string_printf( gstr, "ipmt( %.5f / 12 : i : %0.2f : %0.2f : 0 : 0 )",
+ g_string_printf( gstr, "ipmt( %.5f / 12.0 : i : %0.2f : %0.2f : 0 : 0 )",
(ldd->ld.interestRate / 100),
( ldd->ld.numPer
* ( ldd->ld.perSize == MONTHS ? 1 : 12 ) ) * 1.,
More information about the gnucash-changes
mailing list