Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
PiaCal::applyLifeMfb Method (SecondaryArray&, int, int, double, double, double)

Applies maximum family benefit to family's benefits in a life case.

C++
static void applyLifeMfb(
    SecondaryArray& secondaryArray, 
    int famSize, 
    int year, 
    double mfb, 
    double pia, 
    double totalBenefit
);
Parameters 
Description 
SecondaryArray& secondaryArray 
Benefits for all family members. 
int famSize 
Number of family members. 
int year 
Year of rounding. 
double mfb 
Maximum family benefit. 
double pia 
Primary insurance amount. 
double totalBenefit 
Total family benefit before applying maximum. 

The worker's pia is subtracted from the mfb before applying the mfb to the auxiliaries' total benefits.

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