Collapse All

Anypia Programmer's Documentation |  |

BenefitAmount::round5 Method (int)
BenefitAmount Class BenefitAmount Members round5 Method Send Feedback

Rounds stored benefit down to $5 multiple.

C++

    int round5(
        int year
    ) const;

Parameters

Parameters | Description
int year | Year of benefit.
theAmount | Amount to be rounded.

Returns

The rounded benefit.

Remarks

The version with 1 argument uses the stored amount to call the static version with 2 arguments. Use this function for Social Security Statements before 2000. For years 2000 and later, the rounding should be down to $1 multiple.

Group

round5 Method

Links
BenefitAmount Class, BenefitAmount Members, round5 Method

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