First define your function:

Then, call it on the object you want to modify:

1000000 becomes 1,000,000