<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - adrianparr</title>
<link>http://snipplr.com/users/adrianparr/tags/number</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 10:21:54 GMT</pubDate>
<item>
<title>(ActionScript 3) AS3 MathUtils static class</title>
<link>http://snipplr.com/view/65581/as3-mathutils-static-class/</link>
<description><![CDATA[ <p>Credit goes to Bruno Imbrizi.</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:56:19 GMT</pubDate>
<guid>http://snipplr.com/view/65581/as3-mathutils-static-class/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Map a Number within one range to another range</title>
<link>http://snipplr.com/view/65580/as3-map-a-number-within-one-range-to-another-range/</link>
<description><![CDATA[ <p>Credit goes to Bruno Imbrizi.</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:53:34 GMT</pubDate>
<guid>http://snipplr.com/view/65580/as3-map-a-number-within-one-range-to-another-range/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Decimal To Hex</title>
<link>http://snipplr.com/view/60387/as3-decimal-to-hex/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Nov 2011 04:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/60387/as3-decimal-to-hex/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Truncating Decimal Number</title>
<link>http://snipplr.com/view/57204/as3-truncating-decimal-number/</link>
<description><![CDATA[ <p>Examples of different ways to truncate/round a decimal number.</p> ]]></description>
<pubDate>Wed, 27 Jul 2011 22:23:54 GMT</pubDate>
<guid>http://snipplr.com/view/57204/as3-truncating-decimal-number/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Round Decimal Places</title>
<link>http://snipplr.com/view/48892/as3-round-decimal-places/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 12 Feb 2011 06:10:59 GMT</pubDate>
<guid>http://snipplr.com/view/48892/as3-round-decimal-places/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Convert Numbers to Words</title>
<link>http://snipplr.com/view/48692/as3-convert-numbers-to-words/</link>
<description><![CDATA[ <p>Full credit for this goes to Deva Raj (@nsdevaraj). This is also a good function for doing a similar thing, http://snipplr.com/view/27954/as3-convert-a-number-to-a-string/</p> ]]></description>
<pubDate>Wed, 09 Feb 2011 23:21:32 GMT</pubDate>
<guid>http://snipplr.com/view/48692/as3-convert-numbers-to-words/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Format a UK Mobile Number (XXXXX XXXXXX)</title>
<link>http://snipplr.com/view/34024/as3-format-a-uk-mobile-number-xxxxx-xxxxxx/</link>
<description><![CDATA[ <p>This returns a string with a single space after the fifth character.
Useful for displaying a UK mobile number which is easy to read.</p> ]]></description>
<pubDate>Fri, 07 May 2010 11:15:23 GMT</pubDate>
<guid>http://snipplr.com/view/34024/as3-format-a-uk-mobile-number-xxxxx-xxxxxx/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Search for a Value in Array and Return it's Position Index</title>
<link>http://snipplr.com/view/29889/as3-search-for-a-value-in-array-and-return-its-position-index/</link>
<description><![CDATA[ <p>If the item cannot be found then the return value is NaN. This function only returns the index of the first occurence found, so it's not very good if you have multiple occurrences of the same value in the array.</p> ]]></description>
<pubDate>Wed, 17 Mar 2010 10:00:05 GMT</pubDate>
<guid>http://snipplr.com/view/29889/as3-search-for-a-value-in-array-and-return-its-position-index/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Convert a Number to a String</title>
<link>http://snipplr.com/view/27954/as3-convert-a-number-to-a-string/</link>
<description><![CDATA[ <p>// Example usage ...

trace(fNumToWord(56345));

// Output ...
// Fifty-Six Thousand and Three Hundred and Forty-Five</p> ]]></description>
<pubDate>Mon, 08 Feb 2010 16:05:59 GMT</pubDate>
<guid>http://snipplr.com/view/27954/as3-convert-a-number-to-a-string/</guid>
</item>
<item>
<title>(ActionScript 3) Format a Number to a String - With decimals and thousands separator</title>
<link>http://snipplr.com/view/27081/format-a-number-to-a-string--with-decimals-and-thousands-separator/</link>
<description><![CDATA[ <p>Format a number so it is more humanly readable. It allows for setting the number of decimal places (inc. adding 0000s to the end) and separating thousands with a comma.

Example usage:

trace(numberFormat(1234.695, 2, true, false)); 
// Output: 1,234.70

trace(numberFormat(16000000, 0, false, false)); 
// Output: 16,000,000</p> ]]></description>
<pubDate>Tue, 26 Jan 2010 06:25:12 GMT</pubDate>
<guid>http://snipplr.com/view/27081/format-a-number-to-a-string--with-decimals-and-thousands-separator/</guid>
</item>
</channel>
</rss>