home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / DOOR / CAMSUB13.ZIP / ADDDAYS next >
Text File  |  1995-02-16  |  719b  |  20 lines

  1. @CLS@
  2. @X0FBecause you still have some days left on your previous subscription, we
  3. are going to calculate the cash value of the remainder of your subscription
  4. and apply this towards additional days under the new subscription level.
  5.  
  6. The calculation is as follow:
  7.  
  8.  Rebate Money = Remaining Days Left * (Old Subscription Cost / OldTotal Days)
  9.  
  10.  Additional Days = (Rebate Money * New Total Days) / New Subscription Cost
  11.  
  12.  This is how yours looks like:
  13.  
  14.    @X0F@CAMREBATE@ = @X0E@CAMDAYSLEFT@ * (@CAMOLDCOST@ / @CAMOLDTOTALDAYS@)
  15.  
  16.    @X0F@CAMADDEDEXPDAYS@ = @X0E(@CAMREBATE@ * @CAMTOTALDAYS@) /@CAMSUBSCOST@
  17.  
  18.         @X0FYou have a total of @CAMADDEDEXPDAYS@ days that will be credited to your account.
  19.  
  20.