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

Rounds specified benefit down to $5 multiple.

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

The rounded benefit.

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!