Document the sign() function.
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 20 Sep 2001 16:41:26 +0000 (16:41 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 20 Sep 2001 16:41:26 +0000 (16:41 +0000)
doc/src/sgml/func.sgml

index 0dc19768c1cdb62f6e1cec44a2887b19aa866260..0a8b2f6d73478b0634b33343559cc8cdceaaec8a 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.72 2001/09/20 14:20:26 petere Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.73 2001/09/20 16:41:26 petere Exp $ -->
 
 <chapter id="functions">
  <title>Functions and Operators</title>
       <entry></entry>
      </row>
 -->
+     <row>
+      <entry><function>sign</function>(<type>numeric</type>)</entry>
+      <entry><type>numeric</type></entry>
+      <entry>sign of the argument (-1, 0, +1)</entry>
+      <entry><literal>sign(-8.4)</literal></entry>
+      <entry>-1</entry>
+     </row>
+
      <row>
       <entry><function>sqrt</function>(<type>dp</type>)</entry>
       <entry><type>dp</type></entry>