<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cocos2d for iPhone &#187; Topic: How to convert NSValue to float or int?</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/4347</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 02:15:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/topic/4347" rel="self" type="application/rss+xml" />

		<item>
			<title>MrMojo on "How to convert NSValue to float or int?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4347#post-26002</link>
			<pubDate>Mon, 08 Feb 2010 20:57:24 +0000</pubDate>
			<dc:creator>MrMojo</dc:creator>
			<guid isPermaLink="false">26002@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>That totally makes sense! I guess I'm just so used to convenience methods I forgot about simply casting it. thanks!
</p></description>
		</item>
		<item>
			<title>carlosh on "How to convert NSValue to float or int?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4347#post-25987</link>
			<pubDate>Mon, 08 Feb 2010 18:26:06 +0000</pubDate>
			<dc:creator>carlosh</dc:creator>
			<guid isPermaLink="false">25987@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Do you need to use NSValue? cause I think what you are looking is NSNumber, which lets you encapsulate int, floats, etc. Or if its NSValue, and you are maybe using the valueWithPointer, then just cast.
</p></description>
		</item>
		<item>
			<title>MrMojo on "How to convert NSValue to float or int?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4347#post-25984</link>
			<pubDate>Mon, 08 Feb 2010 17:39:21 +0000</pubDate>
			<dc:creator>MrMojo</dc:creator>
			<guid isPermaLink="false">25984@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi there. I've got some code that gives me NSValue's, but I want to get a float out of them. I can't see how to do it. I see how to put different types into an NSValue, but I can't see how to get them out by type. Anyone? Thanks.
</p></description>
		</item>

	</channel>
</rss>

