Collapse All

Anypia Programmer's Documentation |  |

PiaMethod::totalEarnCal Method
PiaMethod Class PiaMethod Members PiaMethod Methods Send Feedback

Computes total earnings and AME or AIME.

C++

    void totalEarnCal(
        int first,
        int last,
        int number
    );

Parameters

Parameters | Description
int first | First year of earnings.
int last | Last year of earnings.
int number | Number of years to be selected.

Remarks

Highest earning years must already be selected. If there are not enough selected years, years of zero earnings will be added.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_METHOD if there is an inconsistency in the number of years desired and the ordered earnings (only in debug mode).

Group

PiaMethod Methods

Links
PiaMethod Class, PiaMethod Members, PiaMethod Methods

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!