<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in AS3: How to Convert Number to String</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/as3_how_to_convert_number_to_string_computer_programming_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 07 Aug 2011 09:21:23 -0000</lastBuildDate><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-279709330</link><description>&lt;p&gt;No help at all. I converted the amount of the instore currency to a string and all I got was deied. Heres the code:&lt;br&gt;credits.text=MochiCoins.inventory.storecredits+""&lt;br&gt;credits is the dynamic text box&lt;br&gt;MochiCoins.inventory.storecredits is the path to the store credits via mochi media&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Starry Guy</dc:creator><pubDate>Sun, 07 Aug 2011 09:21:23 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-234499580</link><description>&lt;p&gt;i.e. does NOT mean 'for example'.  Be a big man and learn e.g. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fussBudget</dc:creator><pubDate>Fri, 24 Jun 2011 23:08:01 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-177051193</link><description>&lt;p&gt;Thanks! Helped me right out with what I needed.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mikale Erhart</dc:creator><pubDate>Sat, 02 Apr 2011 17:02:43 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-105555573</link><description>&lt;p&gt;Nice and simple....&lt;/p&gt;&lt;p&gt;var myNumber:Number = 33;&lt;br&gt;var myString = myNumber + "";&lt;/p&gt;&lt;p&gt;No functions. No Mess :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SantaMan</dc:creator><pubDate>Wed, 01 Dec 2010 11:32:55 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-62827011</link><description>&lt;p&gt;this site is better research&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kol Sangvan</dc:creator><pubDate>Sat, 17 Jul 2010 00:02:44 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-60601033</link><description>&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shpagatus</dc:creator><pubDate>Mon, 05 Jul 2010 04:09:43 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-45884939</link><description>&lt;p&gt;Thanks for the tip, but how to preserver decimal places?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wu Di</dc:creator><pubDate>Wed, 21 Apr 2010 18:04:54 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-30657382</link><description>&lt;p&gt;I need a quick solution - without looking at my notes and when I googled and this page came first. thank you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">abe</dc:creator><pubDate>Thu, 21 Jan 2010 00:36:03 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-10380388</link><description>&lt;p&gt;That doesn't work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christo</dc:creator><pubDate>Tue, 02 Jun 2009 04:52:21 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-9931052</link><description>&lt;p&gt;@ littleman80&lt;br&gt;var num:Number = 23;&lt;br&gt;var StringConverted:String = "00"+String(num);&lt;br&gt;trace(StringConverted);&lt;/p&gt;&lt;p&gt;@justin&lt;br&gt;to convert a string to number use this&lt;br&gt;var TheString:String = "12345678";&lt;br&gt;var TheNumber:Number = parseInt(TheString);&lt;br&gt;trace(TheNumber * 2) // by using * u can test that its really a number&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roberto</dc:creator><pubDate>Mon, 25 May 2009 12:04:02 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-9812658</link><description>&lt;p&gt;or you could use (time.milliseconds).toString()&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jenny</dc:creator><pubDate>Fri, 22 May 2009 19:25:34 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-8762249</link><description>&lt;p&gt;thats cool man, but how would you know wich class to add so you can use the "string()" converter&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel</dc:creator><pubDate>Mon, 27 Apr 2009 22:06:08 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-6433169</link><description>&lt;p&gt;How to do whith that?:&lt;/p&gt;&lt;p&gt;var D:String;&lt;br&gt;D = String(b * b - 4 * a * c);&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jk</dc:creator><pubDate>Fri, 20 Feb 2009 11:41:20 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-4965247</link><description>&lt;p&gt;same problem&lt;br&gt;I'm getting a number from an XML, looks like 123,456,78&lt;br&gt;i then myString.split(",").join("");&lt;br&gt;gives me "12345678"&lt;br&gt;now I want to use it in some math,&lt;br&gt;i tried Number(myString);&lt;br&gt;that just gives me the error above&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">justin</dc:creator><pubDate>Wed, 07 Jan 2009 14:13:25 -0000</pubDate></item><item><title>Re: AS3: How to Convert Number to String</title><link>http://www.tech-recipes.com/rx/2333/as3_convert_number_to_string/#comment-3677976</link><description>&lt;p&gt;how about if I have a number, i.e.: 23 and I want to converted it to the string "0023" (with 4 digits i.e.)?...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">littleman80</dc:creator><pubDate>Tue, 11 Nov 2008 09:02:48 -0000</pubDate></item></channel></rss>