Jump to content

FormatPoints

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (FormatPoints – created via PowerShell script (2025-11-11T21:12:46Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
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
nThe numeric value to format with comma separators.
Example: CMM.FormatPoints(1234567)
Example Description: Returns "1,234,567" when given 1234567.
Related Functions:
Notes: