# Inserting comma into a string

**URL:** <https://forum.kirupa.com/t/inserting-comma-into-a-string/74365>\
**Category:** flash\
**Created:** [December 28, 2004, 2:05pm UTC](https://forum.kirupa.com/t/inserting-comma-into-a-string/74365 "2004-12-28T14:05:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gumby19](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gumby19](https://forum.kirupa.com/u/Gumby19)\
**Post date:** [December 28, 2004, 2:05pm UTC](https://forum.kirupa.com/t/inserting-comma-into-a-string/74365/1 "2004-12-28T14:05:16Z")

</div>

For example:  
Var numberOne = 20  
Var numberTwo = 500

myTextBox.text = numberOne\*numberTwo

How would I get it to appear in the textbox as:  
10,000

instead of;

1. 

And the numbers will vary in the textboxes, so I need it to be flexible for 3 digit numbers up to probably 5 or 6 digits at the most. Any ideas?? I did research, but can’t quite find what I need. Thanks.
