Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
TaxRates::taxCalAllYears Method

Calculates taxes paid over a lifetime, net of any tax credit.

C++
void taxCalAllYears(
    const DoubleAnnual& earnOasdi, 
    const BitAnnual& taxType, 
    DoubleAnnual& taxes, 
    trustfundType fundType
) const;
Parameters 
Description 
const DoubleAnnual& earnOasdi 
Array of earnings limited to wage base. 
const BitAnnual& taxType 
Array of tax types. Each entry is true for employee or false for employer. 
DoubleAnnual& taxes 
Array to hold calculated taxes. 
trustfundType fundType 
Trust fund type (0: oasi, 1: di, 2: oasdi, 3: hi, 4: oasdi). 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!