Jump to content

FormatPoints

From CMM Wiki
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: