<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Easy Ruby On Rails Programming &#187; Floating Point Numbers</title>
	<atom:link href="http://easyrubyonrailsprogramming.com/tag/floating-point-numbers/feed/" rel="self" type="application/rss+xml" />
	<link>http://easyrubyonrailsprogramming.com</link>
	<description>The Place to be to Learn Ruby On Rails</description>
	<lastBuildDate>Sat, 24 Dec 2011 05:30:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Ruby Data Types</title>
		<link>http://easyrubyonrailsprogramming.com/development/ruby-data-types/</link>
		<comments>http://easyrubyonrailsprogramming.com/development/ruby-data-types/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 10:50:07 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming Basics]]></category>
		<category><![CDATA[Data Types]]></category>
		<category><![CDATA[Floating Point Numbers]]></category>
		<category><![CDATA[Integers]]></category>

		<guid isPermaLink="false">http://easyrubyonrailsprogramming.com/development/ruby-data-types/</guid>
		<description><![CDATA[We have looked into many of the data structures that are supported by ruby along with brief examples of their use and structures. Now we turn to the different data types the language supports which is vital in maximizing the potential of Ruby. Numbers are classified into integers and floating point numbers. The handling capabilities [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sapphiresteel.com/The-Editor-and-Console"><img src="/wp-content/uploads/scraped/35.jpg"/></a>
<p>We have looked into many of the data structures that are supported by ruby along with brief examples of their use and structures. Now we turn to the different data types the language supports which is vital in maximizing the potential of Ruby. Numbers are classified into integers and floating point numbers. The handling capabilities of Ruby when it comes to integers is dependent on the amount of memory you have installed on your computer.  They are also classified into two object classes stored in either the <em>Fixnum</em> or <em>Bignum</em> classes. Ruby handles conversion to and from these two types automatically and stores them in binary form in their respective classes. Integers can also be used with optional lead signs that denote octal, hex, or binary.<br />
Integer values can also be translated into their ASCII character set equivalents with the use of a ? before the variable. The term numeric literal that is denoted by an exponent or a decimal point is converted into a <em>Float</em> object in correspondence to the native language&#8217;s <em>double</em> data type. To obtain the absolute value of an integer you use the form aNumber.abs and not abs(aNumber) as with C and C++. </p>
]]></content:encoded>
			<wfw:commentRss>http://easyrubyonrailsprogramming.com/development/ruby-data-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

