mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-28 15:45:50 +00:00
Re-levelization: move non-docs content, rename content→docs
For better URLs, the content folder has been renamed 'docs' and all other files have been moved up a level. Also, non-docs images have been moved to the static folder at the top level where they belong. Many relative paths had to be fixed to make this work.
This commit is contained in:
8
@i18n/ja/docs/_snippets/string-number-formatting.md
Normal file
8
@i18n/ja/docs/_snippets/string-number-formatting.md
Normal file
@@ -0,0 +1,8 @@
|
||||
XRP LedgerのAPIでは、[XRP](../introduction/what-is-xrp.md)と[トークン](../concepts/tokens/index.md)の両方で、通貨の金額を数値で表現するために、JSONのネイティブの数値ではなく文字列を使用します。これは、JSONパーサーが自動的にすべてのJSON数値を浮動小数点形式で表現しようとする可能性がある場合に、精度の低下を防ぐためです。String値の中では、数値はネイティブのJSON数値と同じ方法で処理されます。
|
||||
|
||||
* 10進数
|
||||
* ゼロの接頭辞なし
|
||||
* 小数点として`.`を含むことができます。例えば、½は`0.5`と表されます
|
||||
* 負の金額は`-`から始まります
|
||||
* `E`または`e`は10の累乗(科学的記数法)を表します。例えば`1.2E5`は1.2×10<sup>5</sup>つまり`120000`と同じです。負の指数も可能です。
|
||||
* カンマ(`,`)は使用しません。
|
||||
Reference in New Issue
Block a user