1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-18 05:01:01 +03:00

Add scale(numeric)

Author: Marko Tiikkaja
This commit is contained in:
Alvaro Herrera
2016-01-05 19:02:13 -03:00
parent 419400c5da
commit abb1733922
7 changed files with 105 additions and 1 deletions

View File

@@ -849,6 +849,19 @@
<entry><literal>42.44</literal></entry>
</row>
<row>
<entry>
<indexterm>
<primary>scale</primary>
</indexterm>
<literal><function>scale(<type>numeric</type>)</function></literal>
</entry>
<entry><type>numeric</type></entry>
<entry>scale of the argument (the number of decimal digits in the fractional part)</entry>
<entry><literal>scale(8.41)</literal></entry>
<entry><literal>2</literal></entry>
</row>
<row>
<entry>
<indexterm>