<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fsgn</id>
		<title>IB Statements/sgn - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fsgn"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/sgn&amp;action=history"/>
		<updated>2026-04-21T11:31:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/sgn&amp;diff=414&amp;oldid=prev</id>
		<title>Badge: New page: '''SGN function'''   '''Syntax:'''  SGN(numeric-argument)    '''Discussion:'''  The SGN function returns the sign (positive, negative or zero) of a numeric value according to the following...</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/sgn&amp;diff=414&amp;oldid=prev"/>
				<updated>2009-05-22T10:26:21Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#39;&amp;#39;&amp;#39;SGN function&amp;#39;&amp;#39;&amp;#39;   &amp;#39;&amp;#39;&amp;#39;Syntax:&amp;#39;&amp;#39;&amp;#39;  SGN(numeric-argument)    &amp;#39;&amp;#39;&amp;#39;Discussion:&amp;#39;&amp;#39;&amp;#39;  The SGN function returns the sign (positive, negative or zero) of a numeric value according to the following...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''SGN function''' &lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''  SGN(numeric-argument)  &lt;br /&gt;
&lt;br /&gt;
'''Discussion:'''  The SGN function returns the sign (positive, negative or zero) of a numeric value according to the following chart: &lt;br /&gt;
 Numeric-argument    Value returned  &lt;br /&gt;
 ==================================&lt;br /&gt;
 positive                 1&lt;br /&gt;
 zero                     0&lt;br /&gt;
 negative                 1-&lt;br /&gt;
&lt;br /&gt;
The numeric-argument may be a numeric constant, a single-element numeric variable, a numeric array element, a numeric expression, or a numeric function. &lt;br /&gt;
&lt;br /&gt;
The intermediate result of the SGN function is stored in a numeric accumulator with a length and precision of 16.0 If this intermediate result is moved to a receiving numeric variable, its precision is automatically adjusted to the defined precision of that variable. &lt;br /&gt;
 &lt;br /&gt;
'''Example:'''  A = SGN(B)&lt;br /&gt;
&lt;br /&gt;
In the above example, the sign of the value stored in the variable B is moved to the variable A. For example, if B equals 25, A will equal 1. Likewise, if B equals -25, A will equal -1, and if B equals 0, A will also equal 0.&lt;/div&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	</feed>