I'm currently using the following to put commas in my numbers larger than 999:
RegexReplace(RapperDictionary.Get("RapFans") & "", "(\d)(?=(\d{3})+$)", "g", "$&,")
This is great, but in being a very novice student of Regular Expressions and programming in general, I'm trying to understand how I can flip what I have to make a number like 1123 turn into 1.1K. None of the tutorials I've read on Scirra.com or elsewhere really explain this, but attempt to explain RegEx as a whole system.
Obviously it's not just the number, but also the lettered value at the end of the string that needs to be dependent upon how many digits in the original string there are to properly kick out a K, M, B, etc.
Is this not a RegEx issue and perhaps something deeper like a Function?