How to Convert the Value into currency?

Good day!

Can any one help me…how to convert a value into currency format?

here is my code:


var estimated_counter:Number = Number(price_c.value)* Number(counter_measure.text); 

var estimated_backsplash:Number = Number(price_b.value)*Number(backsplash_measure.text);
    
estimate_price.value = estimated_counter +  estimated_backsplash;

this code will output sample:

4000

how to make it that it will out with comma separating values like sample:

4,000