https://bugs.documentfoundation.org/show_bug.cgi?id=99308

BogdanB <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|amordegrc using obsolete    |Amordegrc using obsolete
                   |values for degressive       |values for degressive
                   |amortisation                |amortisation
                 CC|                            |[email protected]
                   |                            |g
             Blocks|                            |143781

--- Comment #7 from BogdanB <[email protected]> ---
The same now in
/core/scaddins/source/analysis/analysishelper.cxx 

double GetAmordegrc( sal_Int32 nNullDate, double fCost, sal_Int32 nDate,
sal_Int32 nFirstPer,
954      double fRestVal, double fPer, double fRate, sal_Int32 nBase )
955  {
956      sal_uInt32  nPer = sal_uInt32( fPer );
957      double      fUsePer = 1.0 / fRate;
958      double      fAmorCoeff;
959  
960      if( fUsePer < 3.0 )
961          fAmorCoeff = 1.0;
962      else if( fUsePer < 5.0 )
963          fAmorCoeff = 1.5;
964      else if( fUsePer <= 6.0 )
965          fAmorCoeff = 2.0;
966      else
967          fAmorCoeff = 2.5;


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=143781
[Bug 143781] [META] Development- and code-related bug reports and tasks
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to