Changes between Version 1 and Version 2 of FormatNumberExample/D2
- Timestamp:
- 09/07/10 02:56:10 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FormatNumberExample/D2
v1 v2 5 5 == Description == 6 6 7 This function takes a number as a char array and inserts commas in the right places; "1000" becomes "1,000", etc.; for numbers smaller than that, it just returns the original .7 This function takes a number as a char array and inserts commas in the right places; "1000" becomes "1,000", etc.; for numbers smaller than that, it just returns the original number. 8 8 9 Some overloads were added so that some integers can be converted, too. Negative values and floating-point numbers (which aren't handled yet) would require more code.9 Some overloads were added so that some integers can be converted, too. Negative values and floating-point numbers are not handled. 10 10 11 11 == Example ==