Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
DoubleQuarter::average Method

Calculates annual average.

C++
double average(
    int year
) const;
Parameters 
Description 
int year 
Year for which average is desired. 

Annual average.

Exceptions 
Description 
PiaException of type PIA_IDS_FLOATQTR1 if year is out of range (only in debug mode). 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!