File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
library/Models/FamilyData Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -376,8 +376,8 @@ else if (loaded && appData?.FamilyData is not null)
376376 < / td >
377377 @if (investment .IsIBond )
378378 {
379- < td style = text - align : right > @FormatUtilities .FormatPercent3 (investment .InterestRate * 100 . 0 )< / td >
380- < td style = text - align : right > @FormatUtilities .FormatPercent3 (investment .CurrentRate * 100 . 0 )< / td >
379+ < td style = text - align : right > @FormatUtilities .FormatPercent3 (investment .InterestRate )< / td >
380+ < td style = text - align : right > @FormatUtilities .FormatPercent3 (investment .CurrentRate )< / td >
381381 }
382382 else
383383 {
@@ -395,7 +395,7 @@ else if (loaded && appData?.FamilyData is not null)
395395 as of @FormatUtilities .FormatMonthPlus2DigitYear (@investment .NextRateStart ):
396396 < / td >
397397 < td style = text - align : right >
398- @FormatUtilities .FormatPercent3 (investment .NextRate * 100 . 0 )
398+ @FormatUtilities .FormatPercent3 (investment .NextRate )
399399 < / td >
400400 < td >< / td >
401401 < / tr >
Original file line number Diff line number Diff line change @@ -450,8 +450,8 @@ else if (appData is not null && appData.FamilyData is not null)
450450 </td >
451451 @if (investment .IsIBond )
452452 {
453- <td style =text-align :right >@FormatUtilities.FormatPercent3(investment.InterestRate * 100 . 0 )</td >
454- <td style =text-align :right >@FormatUtilities.FormatPercent3(investment.CurrentRate * 100 . 0 )</td >
453+ <td style =text-align :right >@FormatUtilities.FormatPercent3(investment.InterestRate) </td >
454+ <td style =text-align :right >@FormatUtilities.FormatPercent3(investment.CurrentRate) </td >
455455 }
456456 else
457457 {
@@ -470,7 +470,7 @@ else if (appData is not null && appData.FamilyData is not null)
470470 as of @FormatUtilities .FormatMonthPlus2DigitYear (@investment .NextRateStart ):
471471 < / td >
472472 < td style = text - align : right >
473- @FormatUtilities .FormatPercent3 (investment .NextRate * 100 . 0 )
473+ @FormatUtilities .FormatPercent3 (investment .NextRate )
474474 < / td >
475475 < td >< / td >
476476 < / tr >
Original file line number Diff line number Diff line change @@ -600,11 +600,11 @@ static string GetRateDate(int month, int year)
600600 i -- ;
601601 }
602602
603- InterestRate = rates [ 0 ] ;
604- CurrentRate = monthsToCompoundThisRound != 6 ? currentRate : rates [ i ] ;
603+ InterestRate = rates [ 0 ] * 100.0 ;
604+ CurrentRate = monthsToCompoundThisRound != 6 ? currentRate * 100.0 : rates [ i ] * 100.0 ;
605605 if ( monthsToCompoundThisRound != 6 && i > 0 )
606606 {
607- NextRate = rates [ i ] ;
607+ NextRate = rates [ i ] * 100.0 ;
608608 var nextMonthStart = nowMonth + 6 - monthsToCompoundThisRound + 1 ;
609609 var nextYearStart = nowYear ;
610610 if ( nextMonthStart > 12 )
You can’t perform that action at this time.
0 commit comments