Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
BenefitAmount::round5 Method (int)

Rounds stored benefit down to $5 multiple.

C++
int round5(
    int year
) const;
Parameters 
Description 
int year 
Year of benefit. 
theAmount 
Amount to be rounded. 

The rounded benefit.

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.

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