Function to calculate rate in the desired frequency.
The user inputs are as follows:
Given frequency: chosen amongst continuous/Quarterly/Semi-annual/Annual
Required frequency: chosen amongst continuous/Quarterly/Semi-annual/Annual
Given rate: entered in decimals. For e.g. 5 per cent is entered as 0.05
Rate expressed the desired frequency.
S Subramanian <firstname.lastname@example.org>
John C. Hull, "Options, Futures, and Other Derivatives", 8/E, Prentice Hall, 2012.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.