# Converting random numbers to strings

**URL:** <https://forum.kirupa.com/t/converting-random-numbers-to-strings/150085>\
**Category:** flash\
**Created:** [June 3, 2005, 4:45pm UTC](https://forum.kirupa.com/t/converting-random-numbers-to-strings/150085 "2005-06-03T16:45:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newshaggy](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@newshaggy](https://forum.kirupa.com/u/newshaggy)\
**Post date:** [June 3, 2005, 4:45pm UTC](https://forum.kirupa.com/t/converting-random-numbers-to-strings/150085/1 "2005-06-03T16:45:05Z")

</div>

how do I go about converting a number into a string.

I have tried String(num);  
that doesnt seem to be working. I need to use this string as such: duplicateMovieClip(name, “I need the converted num to string here”, dep);  
Can someone help me out - show how to convert it and how I use that converted text as an argument above.
