There isn't any need to make a comma identifier. As mentioned above, $bytes() will do this for you.
var %money = $bytes(1234567890,b)
Regardless how you do this, always keep in mind that if your number gets too large, it will cause an error. So if you're making a game where you are giving huge amounts of money, you may want to reconsider and give less money.