@@ -877,6 +877,12 @@ msgid ""
877877"Decimal`. If no digits follow the decimal point, the decimal point is also "
878878"removed unless the ``#`` option is used."
879879msgstr ""
880+ "科学的表記です。与えられた精度 ``p`` に対して、科学的表記では係数と指数を区切"
881+ "り文字 'e' で分けて表します。係数部分は小数点の前に1桁、小数点の後に ``p`` "
882+ "桁、合計 ``p + 1`` 桁の有効桁数を持ちます。 精度が指定されない場合、 :class:"
883+ "`float` では小数点以下 ``6`` 桁の精度が使われ、いっぽう :class:`~decimal."
884+ "Decimal` では係数部全てが表示されます。小数点以下の桁がない場合、 ``#`` オプ"
885+ "ションが使われた場合をのぞき、小数点は除去されます。"
880886
881887#: ../../library/string.rst:499
882888msgid "``'E'``"
@@ -902,6 +908,11 @@ msgid ""
902908"decimal point, the decimal point is also removed unless the ``#`` option is "
903909"used."
904910msgstr ""
911+ "固定小数点表記です。与えられた精度 ``p`` に対して、小数点以下 ``p`` 桁で数値"
912+ "を表します。精度が指定されない場合、 :class:`float` では ``6`` 桁の精度が使わ"
913+ "れ、いっぽう :class:`~decimal.Decimal` では数値全体を表示するのに十分な精度が"
914+ "使われます。小数点以下の桁がない場合、 ``#`` オプションが使われた場合をのぞ"
915+ "き、小数点は除去されます。"
905916
906917#: ../../library/string.rst:512
907918msgid "``'F'``"
@@ -926,6 +937,9 @@ msgid ""
926937"format or in scientific notation, depending on its magnitude. A precision of "
927938"``0`` is treated as equivalent to a precision of ``1``."
928939msgstr ""
940+ "汎用表記です。与えられた精度 ``p >= 1`` に対して、この表記では数値を有効桁数 "
941+ "``p`` に丸めた上で、数値の大きさに応じて固定小数点表記または科学的表記で表し"
942+ "ます。精度 ``0`` は精度 ``1`` と同じものと取り扱われます。"
929943
930944#: ../../library/string.rst:522
931945msgid ""
@@ -939,6 +953,14 @@ msgid ""
939953"decimal point is also removed if there are no remaining digits following it, "
940954"unless the ``'#'`` option is used."
941955msgstr ""
956+ "正確なルールは次の通りです: 書式 ``'e'`` 型および精度 ``p-1`` 桁で数値を"
957+ "フォーマットした結果、指数部が ``exp`` になったと仮定します。このとき ``m <= "
958+ "exp < p`` ならば、数値は書式 ``'f'`` 型および精度 ``p-1-exp`` 桁でフォーマッ"
959+ "トされます。ただし ``m`` は浮動小数点数では -4 であり、 :class:`Decimals "
960+ "<decimal.Decimal>` に対しては -6 です。それ以外の場合、数値は書式 ``'e'`` 型"
961+ "および精度 ``p-1`` 桁でフォーマットされます。どちらの場合でも、仮数部の有効で"
962+ "ない末尾のゼロは取り除かれます。また小数点以下に表示する桁が無い場合、 "
963+ "``'#'`` オプションが使われた場合をのぞき、小数点は除去されます。"
942964
943965#: ../../library/string.rst:535
944966msgid ""
0 commit comments