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

Commit278edd9

Browse files
committed
doc: update NUMERIC to state that only some ops are exact
Report by Tom Lane
1 parent1d8198b commit278edd9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎doc/src/sgml/datatype.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,13 @@
498498

499499
<para>
500500
The type <type>numeric</type> can store numbers with a
501-
very large number of digits and perform calculations exactly. It is
502-
especially recommended for storing monetary amounts and other
503-
quantities where exactness is required. However, arithmetic on
504-
<type>numeric</type> values is very slow compared to the integer
505-
types, or to the floating-point types described in the next section.
501+
very large number of digits. It is especially recommended for
502+
storing monetary amounts and other quantities where exactness is
503+
required. Calculations with <type>numeric</type> values yield exact
504+
results where possible, e.g. addition, subtraction, multiplication.
505+
However, calculations on <type>numeric</type> values are very slow
506+
compared to the integer types, or to the floating-point types
507+
described in the next section.
506508
</para>
507509

508510
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp