This is a follow-up question to original Prorated Refund CalculatorProrated Refund Calculator. Here is the summary of the changes I made since last, thanks to the good answers and some study of my own.
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/