| Line 1: |
Line 1: |
| − | <div style="font-size:30px">'''PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,Basis)'''</div><br/> | + | <div style="font-size:25px">'''PRICEDISC (SettlementDate,MaturityDate,DiscountRate,RedemptionValue,Basis)'''</div><br/> |
| | | | |
| | *where <math>SettlementDate</math> is the security's settlement date (a date when coupon or a bond is purchased), | | *where <math>SettlementDate</math> is the security's settlement date (a date when coupon or a bond is purchased), |
| Line 15: |
Line 15: |
| | *The function returns the price of a discounted security per $100 face value. | | *The function returns the price of a discounted security per $100 face value. |
| | *PRICEDISC is calculated by subtracting discounted amount from redemption value. | | *PRICEDISC is calculated by subtracting discounted amount from redemption value. |
| − | *<math>SettlementDate</math> and <math>maturity</math> dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message. | + | *<math>SettlementDate</math> and <math>MaturityDate</math> dates should be entered either in 'date format' or 'dates returned using formulas'. If dates are not valid, Calci displays #N/A error message. |
| − | *If <math>SettlementDate</math> date ≥ <math>maturity</math> date, Calci displays #N/A error message. | + | *If <math>SettlementDate</math> date ≥ <math>MaturityDate</math> date, Calci displays #N/A error message. |
| | *<math>DiscountRate</math> value must be greater than or equal to zero, else calci displays #N/A error message. | | *<math>DiscountRate</math> value must be greater than or equal to zero, else calci displays #N/A error message. |
| | *<math>RedemptionValue</math> value must be greater than zero, else Calci displays #N/A error message. | | *<math>RedemptionValue</math> value must be greater than zero, else Calci displays #N/A error message. |
| | *<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0. | | *<math>Basis</math> value is optional. If omitted, Calci assumes it to be 0. |
| − | Below table shows the use of <math>basis</math> values: | + | Below table shows the use of <math>Basis</math> values: |
| | | | |
| | {| class="wikitable" | | {| class="wikitable" |