Specifications
CHAPTER 24 DataWindow Expression and InfoMaker Functions
Users Guide 723
This expression returns the value of each row in the column named cost as a
percentage of the total of cost in group 2:
Percent(cost for group 2)
This expression entered in the Value box on the Data tab page in the Graph
Object property sheet returns the value of each row in the qty_ordered as a
percentage of the total for the column in the graph:
Percent(qty_ordered for graph)
Assuming a report displays the order number, amount, and line items for each
order, this computed field returns the order amount as a percentage of the total
order amount for the distinct order numbers:
Percent(order_amt for all DISTINCT order_nbr)
See also
CumulativePercent
Pi
Description Multiplies pi by a specified number.
Syntax Pi ( n )
Return value Double. Returns the result of multiplying n by pi if it succeeds and –1 if an
error occurs.
Usage Use Pi to convert angles to and from radians.
Examples This expression returns pi:
Pi(1)
Both these expressions return the area of a circle with the radius Rad:
Pi(1) * Rad^2
Pi(Rad^2)
This expression computes the cosine of a 45-degree angle:
Cos(45.0 * (Pi(2)/360))
See also Cos
Sin
Tan
Argument Description
n The number you want to multiply by pi (3.14159265358979323...)