mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
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">
|
||||
<title>Functions and Operators</title>
|
||||
@ -640,6 +640,14 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user