# How to Convert the Value into currency?

**URL:** <https://forum.kirupa.com/t/how-to-convert-the-value-into-currency/198337>\
**Category:** flash\
**Created:** [August 24, 2006, 7:26am UTC](https://forum.kirupa.com/t/how-to-convert-the-value-into-currency/198337 "2006-08-24T07:26:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trestian](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@trestian](https://forum.kirupa.com/u/trestian)\
**Post date:** [August 24, 2006, 7:26am UTC](https://forum.kirupa.com/t/how-to-convert-the-value-into-currency/198337/1 "2006-08-24T07:26:57Z")

</div>

Good day!

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

here is my code:

```auto

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
