@@ -860,6 +860,12 @@ msgid ""
860860"Decimal`. If no digits follow the decimal point, the decimal point is also "
861861"removed unless the ``#`` option is used."
862862msgstr ""
863+ "科学的表記です。与えられた精度 ``p`` に対して、科学的表記では係数と指数を区切"
864+ "り文字 'e' で分けて表します。係数部分は小数点の前に1桁、小数点の後に ``p`` "
865+ "桁、合計 ``p + 1`` 桁の有効桁数を持ちます。 精度が指定されない場合、 :class:"
866+ "`float` では小数点以下 ``6`` 桁の精度が使われ、いっぽう :class:`~decimal."
867+ "Decimal` では係数部全てが表示されます。小数点以下の桁がない場合、 ``#`` オプ"
868+ "ションが使われた場合をのぞき、小数点は除去されます。"
863869
864870#: ../../library/string.rst:497
865871msgid "``'E'``"
@@ -885,6 +891,11 @@ msgid ""
885891"decimal point, the decimal point is also removed unless the ``#`` option is "
886892"used."
887893msgstr ""
894+ "固定小数点表記です。与えられた精度 ``p`` に対して、小数点以下 ``p`` 桁で数値"
895+ "を表します。精度が指定されない場合、 :class:`float` では ``6`` 桁の精度が使わ"
896+ "れ、いっぽう :class:`~decimal.Decimal` では数値全体を表示するのに十分な精度が"
897+ "使われます。小数点以下の桁がない場合、 ``#`` オプションが使われた場合をのぞ"
898+ "き、小数点は除去されます。"
888899
889900#: ../../library/string.rst:510
890901msgid "``'F'``"
@@ -909,6 +920,9 @@ msgid ""
909920"format or in scientific notation, depending on its magnitude. A precision of "
910921"``0`` is treated as equivalent to a precision of ``1``."
911922msgstr ""
923+ "汎用表記です。与えられた精度 ``p >= 1`` に対して、この表記では数値を有効桁数 "
924+ "``p`` に丸めた上で、数値の大きさに応じて固定小数点表記または科学的表記で表し"
925+ "ます。精度 ``0`` は精度 ``1`` と同じものと取り扱われます。"
912926
913927#: ../../library/string.rst:520
914928msgid ""
@@ -922,6 +936,14 @@ msgid ""
922936"decimal point is also removed if there are no remaining digits following it, "
923937"unless the ``'#'`` option is used."
924938msgstr ""
939+ "正確なルールは次の通りです: 書式 ``'e'`` 型および精度 ``p-1`` 桁で数値を"
940+ "フォーマットした結果、指数部が ``exp`` になったと仮定します。このとき ``m <= "
941+ "exp < p`` ならば、数値は書式 ``'f'`` 型および精度 ``p-1-exp`` 桁でフォーマッ"
942+ "トされます。ただし ``m`` は浮動小数点数では -4 であり、 :class:`Decimals "
943+ "<decimal.Decimal>` に対しては -6 です。それ以外の場合、数値は書式 ``'e'`` 型"
944+ "および精度 ``p-1`` 桁でフォーマットされます。どちらの場合でも、仮数部の有効で"
945+ "ない末尾のゼロは取り除かれます。また小数点以下に表示する桁が無い場合、 "
946+ "``'#'`` オプションが使われた場合をのぞき、小数点は除去されます。"
925947
926948#: ../../library/string.rst:533
927949msgid ""
0 commit comments