Mastering Crystal Reports 9

Appendix D - Crystal Reports Custom Functions
Mastering Crystal Reports 9
by Cate McCoy and Gord Maric
Sybex 2003

The built-in math custom functions focus on calculations to increase a value by a certain percentage as well as calculate the percent difference. A scenario for using these types of functions is to create a report for the sales team showing them what the quotas or future sales numbers need to be if everyone increases their sales by 2.3 percent.

cdIncreaseCurrencyByAPercentage Given a currency value to increase and a percentage to increase it by, returns the resulting currency value after the increase.

cdIncreaseNumberByAPercentage Given a number value to increase and a percentage to increase it by, returns the resulting number value after the increase.

cdPercentageDifference Given a currency value and its updated currency value, returns the percentage difference as a number.

Use of content on this site is expressly subject to the restrictions set forth in the Membership Agreement
 
Conello © 2000-2003     Feedback

Категории