Read a few posts, but am still confused at where exactly one uses regular expressions (RegEx) to Format Currency or insert commas into a score.
Would it be a global variable?
Would it be a function call?
Example here:
"FormatCurrency"
RegexReplace(Function.Param(0) & "", "\d(?=(\d{3})+\.)", "g", "$&,")
My problem is for global variable "Score" that I want to display as currency with commas. I have an "init function" which includes "System to Set Score to Zero" and a "set text to Score" action.
So would I start a sub-event or create a function with a sub-event to display "Score" as currency with commas?
Thanx !!!