<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/number</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 22:15:47 GMT</pubDate>
<item>
<title>(C#) Is this Number Prime - jholderman</title>
<link>http://snipplr.com/view/70930/is-this-number-prime/</link>
<description><![CDATA[ <p>Method to Check if an int is a Prime Number</p> ]]></description>
<pubDate>Thu, 25 Apr 2013 18:31:21 GMT</pubDate>
<guid>http://snipplr.com/view/70930/is-this-number-prime/</guid>
</item>
<item>
<title>(jQuery) Form validator - tcspinks</title>
<link>http://snipplr.com/view/70524/form-validator/</link>
<description><![CDATA[ <p>Validate numbers only, email addresses, restricted input, required fields, and add error classes</p> ]]></description>
<pubDate>Sat, 23 Mar 2013 03:23:27 GMT</pubDate>
<guid>http://snipplr.com/view/70524/form-validator/</guid>
</item>
<item>
<title>(JavaScript) Format a US Phone Numner - chetkloss</title>
<link>http://snipplr.com/view/70375/format-a-us-phone-numner/</link>
<description><![CDATA[ <p>Generic function - Pass the context to the function for use with any field</p> ]]></description>
<pubDate>Wed, 13 Mar 2013 07:52:04 GMT</pubDate>
<guid>http://snipplr.com/view/70375/format-a-us-phone-numner/</guid>
</item>
<item>
<title>(C#) Number formatting - strelaras</title>
<link>http://snipplr.com/view/70299/number-formatting/</link>
<description><![CDATA[ <p>(More examples to be added)</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 22:39:30 GMT</pubDate>
<guid>http://snipplr.com/view/70299/number-formatting/</guid>
</item>
<item>
<title>(PHP) Check 10- and 11- digit phone numbers - chrisvogt</title>
<link>http://snipplr.com/view/69311/check-10-and-11-digit-phone-numbers/</link>
<description><![CDATA[ <p>Return a pure 10-digit phone number if the number given is 10 digits or 11 digits.</p> ]]></description>
<pubDate>Sun, 30 Dec 2012 10:46:13 GMT</pubDate>
<guid>http://snipplr.com/view/69311/check-10-and-11-digit-phone-numbers/</guid>
</item>
<item>
<title>(PHP) Wordpress Native Pagination Links With Page Number No Plugin Needed - rudwolf</title>
<link>http://snipplr.com/view/68927/wordpress-native-pagination-links-with-page-number-no-plugin-needed/</link>
<description><![CDATA[ <p>Create navigation links without the need of a plugin, using paginate_links function of wordpress core.</p> ]]></description>
<pubDate>Tue, 04 Dec 2012 00:22:50 GMT</pubDate>
<guid>http://snipplr.com/view/68927/wordpress-native-pagination-links-with-page-number-no-plugin-needed/</guid>
</item>
<item>
<title>(Ruby) Scale a number into a defined range - slhck</title>
<link>http://snipplr.com/view/67224/scale-a-number-into-a-defined-range/</link>
<description><![CDATA[ <p>Scales a number from a given range into a specific range, as explained [in this Stack Overflow](http://stackoverflow.com/questions/5294955/how-to-scale-down-a-range-of-numbers-with-a-known-min-and-max-value) post.

Just call it, for example like:

    0.5.scale_between(0, 1, 100, 200)

The result would be `150`.</p> ]]></description>
<pubDate>Tue, 18 Sep 2012 20:35:26 GMT</pubDate>
<guid>http://snipplr.com/view/67224/scale-a-number-into-a-defined-range/</guid>
</item>
<item>
<title>(ActionScript 3) Limita un numero entre un mínimo y un máximo - fenixkim</title>
<link>http://snipplr.com/view/66532/limita-un-numero-entre-un-mnimo-y-un-mximo/</link>
<description><![CDATA[ <p>Algunas veces se quiere comprobar si un numero esta entre un rango de otro número menor y otro mayor.</p> ]]></description>
<pubDate>Sun, 05 Aug 2012 07:16:21 GMT</pubDate>
<guid>http://snipplr.com/view/66532/limita-un-numero-entre-un-mnimo-y-un-mximo/</guid>
</item>
<item>
<title>(JavaScript) format numbers in javascript with group digits - rg443</title>
<link>http://snipplr.com/view/66256/format-numbers-in-javascript-with-group-digits/</link>
<description><![CDATA[ <p>format numbers in javascript with group digits</p> ]]></description>
<pubDate>Sat, 21 Jul 2012 02:08:41 GMT</pubDate>
<guid>http://snipplr.com/view/66256/format-numbers-in-javascript-with-group-digits/</guid>
</item>
<item>
<title>(JavaScript) Number in Words (Número por extenso) - glauberportella</title>
<link>http://snipplr.com/view/65870/number-in-words-nmero-por-extenso/</link>
<description><![CDATA[ <p>Write a given number in words - Escreve um número por extenso. Write in Brazilian Portuguese, sorry for english or other language guys but it can be adapted.

Write from 1 to 9999 

Based on a forum in http://scriptbrasil.com.br/forum/index.php?showtopic=105695</p> ]]></description>
<pubDate>Fri, 29 Jun 2012 23:36:20 GMT</pubDate>
<guid>http://snipplr.com/view/65870/number-in-words-nmero-por-extenso/</guid>
</item>
<item>
<title>(PHP) Separate street and number from an address - MGHollander</title>
<link>http://snipplr.com/view/65601/separate-street-and-number-from-an-address/</link>
<description><![CDATA[ <p>Straatnamen en huisnummer splitsen, hieronder diverse types straatnamen
Bron: http://www.pfz.nl/archief/965267-adres-splitsen-in-straatnaam-en-huisnr/</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 22:12:15 GMT</pubDate>
<guid>http://snipplr.com/view/65601/separate-street-and-number-from-an-address/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 MathUtils static class - adrianparr</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 - adrianparr</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) Convert values within a range to values within another range - vamapaull</title>
<link>http://snipplr.com/view/63543/convert-values-within-a-range-to-values-within-another-range/</link>
<description><![CDATA[ <p>I’m sharing with you a little utility that I find myself using a lot lately. This utility is a value convertor that you can use in those times when you need to make a volume slider or something similar where you’ll need to change a value and a value range.</p> ]]></description>
<pubDate>Thu, 23 Feb 2012 23:40:18 GMT</pubDate>
<guid>http://snipplr.com/view/63543/convert-values-within-a-range-to-values-within-another-range/</guid>
</item>
<item>
<title>(Visual Basic) WhoIsLoggedIn.vbs - RobertHirabayashi</title>
<link>http://snipplr.com/view/63222/whoisloggedinvbs/</link>
<description><![CDATA[ <p>Run this script from a command prompt, and you'll be asked for the IP Address or Host Name. Script will first check if PC is ping-able and will return an error message on any unreachable host. If the computer is running, script will return with user details about the logged in user from Active Directory.</p> ]]></description>
<pubDate>Fri, 10 Feb 2012 06:28:45 GMT</pubDate>
<guid>http://snipplr.com/view/63222/whoisloggedinvbs/</guid>
</item>
<item>
<title>(PHP) php Date Format Examples - ryarwood</title>
<link>http://snipplr.com/view/62880/php-date-format-examples/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 30 Jan 2012 08:47:36 GMT</pubDate>
<guid>http://snipplr.com/view/62880/php-date-format-examples/</guid>
</item>
<item>
<title>(JavaScript) Optional function arguments/parameters by using associative array - coprolit</title>
<link>http://snipplr.com/view/62307/optional-function-argumentsparameters-by-using-associative-array/</link>
<description><![CDATA[ <p>By not being limited to provide certain arguments/parameters in right order when calling a function, makes the function more versatile and easier to extend without breaking old code (e.g. calls to the function). 
One solution is to pass an associative array holding the parameters. 
Advantage: argument order is unnecessary, each argument have a label - easier to remember.</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 00:13:08 GMT</pubDate>
<guid>http://snipplr.com/view/62307/optional-function-argumentsparameters-by-using-associative-array/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Decimal To Hex - adrianparr</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>(Python) Python - Random Numbers - Examples - denakitan</title>
<link>http://snipplr.com/view/59467/python--random-numbers--examples/</link>
<description><![CDATA[ <p>Example of some random number generation mechanisms built-in Python. More details in the following link: http://docs.python.org/library/random.html</p> ]]></description>
<pubDate>Thu, 06 Oct 2011 06:42:00 GMT</pubDate>
<guid>http://snipplr.com/view/59467/python--random-numbers--examples/</guid>
</item>
<item>
<title>(JavaScript) format thousands - fengelz</title>
<link>http://snipplr.com/view/58673/format-thousands/</link>
<description><![CDATA[ <p>Thanks to http://www.mredkj.com/javascript/numberFormat.html#addcommas</p> ]]></description>
<pubDate>Wed, 14 Sep 2011 19:49:44 GMT</pubDate>
<guid>http://snipplr.com/view/58673/format-thousands/</guid>
</item>
</channel>
</rss>