Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public calculateRSSTACC(): number {
  2.     const average_total_assets: number = (this.currentYear.totalAssets + this.prevYear.totalAssets) / 2;
  3.  
  4.     const WCCurrent: number = (this.currentYear.totalCurrentAssets - this.currentYear.cashAndCashEquivalents)
  5.         - (this.currentYear.totalCurrentLiabilities - this.currentYear.currentDebt);
  6.  
  7.     const WCPrev: number = (this.prevYear.totalCurrentAssets - this.prevYear.cashAndCashEquivalents)
  8.         - (this.prevYear.totalCurrentLiabilities - this.prevYear.currentDebt);
  9.  
  10.     const dWC: number = WCCurrent - WCPrev;
  11.  
  12.     const NCOCurrent: number = (this.currentYear.totalAssets - this.currentYear.totalCurrentAssets)
  13.         - (this.currentYear.totalLiabilities - this.currentYear.totalCurrentLiabilities - (this.currentYear.totalDebt - this.currentYear.currentDebt));
  14.  
  15.     const NCOprev: number = (this.prevYear.totalAssets - this.prevYear.totalCurrentAssets)
  16.         - (this.prevYear.totalLiabilities - this.prevYear.totalCurrentLiabilities - (this.prevYear.totalDebt - this.prevYear.currentDebt));
  17.  
  18.     const dNCO: number = NCOCurrent - NCOprev;
  19.  
  20.     const rsst_acc: number = (dWC + dNCO) / average_total_assets;
  21.  
  22.     return rsst_acc;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement