# Adding $ prefixes and subfixes of .00 while not affecting dynamic variable

**URL:** <https://forum.kirupa.com/t/adding-prefixes-and-subfixes-of-00-while-not-affecting-dynamic-variable/288894>\
**Category:** flash\
**Created:** [May 22, 2009, 2:16pm UTC](https://forum.kirupa.com/t/adding-prefixes-and-subfixes-of-00-while-not-affecting-dynamic-variable/288894 "2009-05-22T14:16:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crift2012](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@crift2012](https://forum.kirupa.com/u/crift2012)\
**Post date:** [May 22, 2009, 2:16pm UTC](https://forum.kirupa.com/t/adding-prefixes-and-subfixes-of-00-while-not-affecting-dynamic-variable/288894/1 "2009-05-22T14:16:44Z")

</div>

I can add them to the set variables in a literal string such as

var hourlyChaser = “$” + 10 + “.00”;  
hourlyPartsChaser.text = hourlyChaser;

but that affects the variable when I want to call it into a dynamic and gives me a NaN

is there way to add and subtract these strings to it will not affect the actual input when I need to call it to add it another number variable?
