34 lines
999 B
HTML
34 lines
999 B
HTML
|
<HTML>
|
||
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
||
|
<BODY>
|
||
|
|
||
|
<A HREF="ng2d400.html">[<<Previous Entry]</A>
|
||
|
<A HREF="ng320.html">[^^Up^^]</A>
|
||
|
<A HREF="ng2dcc2.html">[Next Entry>>]</A>
|
||
|
<A HREF="menu.html" >[Menu]</A>
|
||
|
<A HREF="info.html">[About The Guide]</A>
|
||
|
<HR>
|
||
|
<PRE>
|
||
|
<B>SGN Sign of Number</B>
|
||
|
|
||
|
<U>y</U> = <B>SGN</B>(<U>numexpr</U>)
|
||
|
|
||
|
Returns the sign of its numeric argument.
|
||
|
|
||
|
<U>numexpr</U> A numeric expression.
|
||
|
|
||
|
----------------------------------------------------------------------
|
||
|
|
||
|
<B>Notes:</B> If <U>numexpr</U> is positive, SGN(<U>numexpr</U>) returns 1.
|
||
|
|
||
|
If <U>numexpr</U> is 0, SGN(<U>numexpr</U>) returns 0.
|
||
|
|
||
|
If <U>numexpr</U> is negative, SGN(<U>numexpr</U>) returns -1.
|
||
|
</PRE>
|
||
|
<HR>
|
||
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
||
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
||
|
<HR>
|
||
|
</BODY>
|
||
|
</HTML>
|