 




<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Numeric to character conversion in AS/400</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/numeric-to-character-conversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/numeric-to-character-conversion/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 15:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/numeric-to-character-conversion/#comment-85926</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 30 Dec 2010 04:11:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-85926</guid>
		<description><![CDATA[Also, a character variable and a zoned-decimal variable can occupy the same memory. Just EVAL the zoned field to the numeric value, and the character field will automatically become the character value of the digits.

The best method might depend on whether or not editing characters are needed, fractional positions exist or negative values will be present. But those should also be considered for other methods because the character length might need adjustment. A redefinition is probably fastest if performance is critical.

Tom]]></description>
		<content:encoded><![CDATA[<p>Also, a character variable and a zoned-decimal variable can occupy the same memory. Just EVAL the zoned field to the numeric value, and the character field will automatically become the character value of the digits.</p>
<p>The best method might depend on whether or not editing characters are needed, fractional positions exist or negative values will be present. But those should also be considered for other methods because the character length might need adjustment. A redefinition is probably fastest if performance is critical.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/numeric-to-character-conversion/#comment-85922</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 30 Dec 2010 01:06:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-85922</guid>
		<description><![CDATA[Try

Alpha = %Editc(numeric : &#039;X&#039;);
This will give you leading zero&#039;s, no comma&#039;s, no decimal point, no sign.

Phil]]></description>
		<content:encoded><![CDATA[<p>Try</p>
<p>Alpha = %Editc(numeric : &#8216;X&#8217;);<br />
This will give you leading zero&#8217;s, no comma&#8217;s, no decimal point, no sign.</p>
<p>Phil</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.057 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 15:43:25 -->