Document the sign() function.
This commit is contained in:
parent
a1ee06625c
commit
14ac04710a
|
@ -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">
|
<chapter id="functions">
|
||||||
<title>Functions and Operators</title>
|
<title>Functions and Operators</title>
|
||||||
|
@ -640,6 +640,14 @@
|
||||||
<entry></entry>
|
<entry></entry>
|
||||||
</row>
|
</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>
|
<row>
|
||||||
<entry><function>sqrt</function>(<type>dp</type>)</entry>
|
<entry><function>sqrt</function>(<type>dp</type>)</entry>
|
||||||
<entry><type>dp</type></entry>
|
<entry><type>dp</type></entry>
|
||||||
|
|
Loading…
Reference in New Issue