Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
RailRoadData::getDecadeEarningsString Method

Returns string of decade of earnings.

C++
std::string getDecadeEarningsString(
    int decade, 
    int width, 
    int decimals
) const;
Parameters 
Description 
int decade 
Decade to use. 0: first 10 years. 1: second 10 years. etc. up to eighth 10 years. 
int width 
Width of each earnings field. 
int decimals 
Number of decimals in each earnings field. 

String of decade of earnings.

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