void addCommaToNumberString( char* numberString, int &length )
{
int readPos = length - 1; length += readPos / 3; int writePos= length - 1;
while( readPos > 2 ) {
numberString[ writePos - 0 ] = numberString[ readPos - 0 ];
numberString[ writePos - 1 ] = numberString[ readPos - 1 ];
numberString[ writePos - 2 ] = numberString[ readPos - 2 ];
numberString[ writePos - 3 ] = ',';
readPos -= 3;
writePos -= 4;
}
}