FormatPoints
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | FormatPoints | |
| Function Description: | Formats a number into a string with comma separators for readability. | |
| File Location: | cmm.stringFunctions.lua | |
| Syntax: | CMM.FormatPoints( number n ) | |
| Return Value: | string | |
| Parameters: | Name | Description |
| n | The numeric value to format with comma separators. | |
| Example: | CMM.FormatPoints(1234567) | |
| Example Description: | Returns "1,234,567" when given 1234567. | |
| Related Functions: | ||
| Notes: | ||