<?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>Computer Cranium &#187; calculate</title>
	<atom:link href="http://computercranium.com/tag/calculate/feed" rel="self" type="application/rss+xml" />
	<link>http://computercranium.com</link>
	<description>Your Computer Science Resource</description>
	<lastBuildDate>Fri, 23 Jul 2010 01:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HOW-TO: Evaluate a Mathematical String Using ScriptEngine</title>
		<link>http://computercranium.com/programming/java/howto-evaluate-a-mathematical-string-using-scriptengine</link>
		<comments>http://computercranium.com/programming/java/howto-evaluate-a-mathematical-string-using-scriptengine#comments</comments>
		<pubDate>Mon, 12 Jan 2009 22:05:42 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[calculate]]></category>
		<category><![CDATA[calculation]]></category>
		<category><![CDATA[evaluate]]></category>
		<category><![CDATA[mathematical string]]></category>
		<category><![CDATA[ScriptEngine]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=284</guid>
		<description><![CDATA[Suppose you have a String containing some mathematical operation(s). For example, we need to perform the following calculation, but for various reasons, the data type is a String: (10*(34+92)-23)/4.  Rather than figuring out ways to parse it (e.g. split or some fancy regex), we can use Java&#8217;s ScriptEngine to evaluate the function as is.

Introduction
Java&#8217;s [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/howto-evaluate-a-mathematical-string-using-scriptengine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
