group saves 3 - digit group
group = 0 ; group += ( num . charCodeAt ( i ) - 48 ) * 100 ; group += ( num . charCodeAt ( i + 1 ) - 48 ) * 10 ; group += ( num . charCodeAt ( i + 2 ) - 48 ) ; gSum += group ; }