Should this be slated for backport to 2.0? -derek
Josh Sled <[EMAIL PROTECTED]> writes: > Author: jsled > Date: 2007-04-02 20:55:56 -0400 (Mon, 02 Apr 2007) > New Revision: 15777 > Trac: http://svn.gnucash.org/trac/changeset/15777 > > Modified: > gnucash/trunk/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:[EMAIL PROTECTED]>. > > > Modified: gnucash/trunk/src/gnome/druid-loan.c > =================================================================== > --- gnucash/trunk/src/gnome/druid-loan.c 2007-04-03 00:19:04 UTC (rev > 15776) > +++ gnucash/trunk/src/gnome/druid-loan.c 2007-04-03 00:55:56 UTC (rev > 15777) > @@ -927,7 +927,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 == GNC_MONTHS ? 1 : 12 > ) ) * 1., > @@ -940,7 +940,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 == GNC_MONTHS ? 1 : 12 ) ) * > 1., > @@ -953,7 +953,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 == GNC_MONTHS ? 1 : 12 ) ) * > 1., > > _______________________________________________ > gnucash-changes mailing list > [EMAIL PROTECTED] > https://lists.gnucash.org/mailman/listinfo/gnucash-changes > > -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
