DCsimple





http://www.QuantTools.com
CapeTools DayCount Enums function list

Welcome | Documentation format | QuantTools Groups | QuantTools Categories | Licence

Key TAGs | Excel Index | API Index



Simple DayCounter.

Simple day counter for reproducing theoretical calculations.

This day counter tries to ensure that whole-month distances are returned as a simple fraction, ie, 1 year = 1.0, 6 months = 0.5, 3 months = 0.25 and so forth.

This day counter should be used together with EmptyCalendar(), which ensures that dates at whole-month distances share the same day of month.

It is not guaranteed to work with any other calendar.



Note: Within Excel, the function is named - CT.DC.SimpleDayCounter




Extended information

Function Syntax

VB Syntax


String CTDayCountEnums.DCsimple()


Excel Spreadsheet Syntax


=CT.DC.SimpleDayCounter()


C++ Syntax


static std::string DCsimple();


DotNET Syntax


System.String CTDayCountEnums.DCsimple();


The following is a sample output from executing the DCsimple() function call
Note : Dates are displayed as serial dates.


simple


Copyright (c) 2003-2007 CapeTools - All Rights Reserved.