Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit18aecf5

Browse files
committed
doc: mention that to_char() values are rounded
Reported-by: barsikdacat@gmail.comDiagnosed-by: Laurenz AlbeDiscussion:https://postgr.es/m/168991536429.626.9957835774751337210@wrigleys.postgresql.orgAuthor: Laurenz AlbeBackpatch-through: 11
1 parentde35fb8 commit18aecf5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8446,6 +8446,14 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
84468446
</para>
84478447
</listitem>
84488448

8449+
<listitem>
8450+
<para>
8451+
If the format provides fewer fractional digits than the number being
8452+
formatted, <function>to_char()</function> will round the number to
8453+
the specified number of fractional digits.
8454+
</para>
8455+
</listitem>
8456+
84498457
<listitem>
84508458
<para>
84518459
The pattern characters <literal>S</literal>, <literal>L</literal>, <literal>D</literal>,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp