mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 17:06:36 -06:00
Don't reverse signs on future value -- see what people think.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2596 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
36652576fb
commit
c5bedc2b95
@ -135,7 +135,7 @@ fi_to_gui(FinCalcDialog *fcd)
|
||||
xaccSPrintAmount(string, fcd->financial_info.pmt, 0, NULL);
|
||||
gtk_entry_set_text(GTK_ENTRY(fcd->entries[PERIODIC_PAYMENT]), string);
|
||||
|
||||
xaccSPrintAmount(string, -fcd->financial_info.fv, 0, NULL);
|
||||
xaccSPrintAmount(string, fcd->financial_info.fv, 0, NULL);
|
||||
gtk_entry_set_text(GTK_ENTRY(fcd->entries[FUTURE_VALUE]), string);
|
||||
|
||||
i = normalize_period(&fcd->financial_info.CF);
|
||||
@ -179,7 +179,7 @@ gui_to_fi(FinCalcDialog *fcd)
|
||||
fcd->financial_info.pmt = xaccParseAmount(string, TRUE);
|
||||
|
||||
string = gtk_entry_get_text(GTK_ENTRY(fcd->entries[FUTURE_VALUE]));
|
||||
fcd->financial_info.fv = -xaccParseAmount(string, TRUE);
|
||||
fcd->financial_info.fv = xaccParseAmount(string, TRUE);
|
||||
|
||||
i = gnc_option_menu_get_active(fcd->compounding_menu);
|
||||
fcd->financial_info.CF = periods[i];
|
||||
|
Loading…
Reference in New Issue
Block a user