Mastering Crystal Reports 9 [Electronic resources]

Cate McCoyand, Gord Maric

نسخه متنی -صفحه : 217/ 180
نمايش فراداده

Custom Math Functions

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.