function$ ;Adds commas to large numbers. ;Note: the number must become a string before sending to this funcion. ;str s="1234567.1234567" ;s.AddCommasToNumbers ;out s strrev this this.replacerx("(\d{3})(?=\d+($|[^\.\w]))" "$1,") strrev this