mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
Go back to reversing the signs of fv again -- which way is right??
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2597 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c5bedc2b95
commit
fc2b7b1879
@ -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