Minecraft Wiki
0tkumbot (トーク | 投稿記録)
(ボットによる: 文字を「 (-{{doc/start}} +{{documentation header}})」で置換)
0tkumbot (トーク | 投稿記録)
(ボットによる: テンプレートを除去: Doc/end)
16行目: 16行目:
 
== 参照 ==
 
== 参照 ==
 
* {{tl|Decimal to hexadecimal converter}}
 
* {{tl|Decimal to hexadecimal converter}}
{{doc/end}}<noinclude>
+
<noinclude>
 
[[en:Decimal to binary converter/doc]]
 
[[en:Decimal to binary converter/doc]]
 
[[fr:Modèle:Dec-hex/doc]]
 
[[fr:Modèle:Dec-hex/doc]]

2017年6月27日 (火) 11:43時点における版

これは、メインテンプレートページに参照されるべきである解説ページです。詳細についてはテンプレート:Documentationを参照してください
ショートカット
Lua logo
このテンプレートは、モジュール:Convert baseを使用しています。また、このスクリプトはLuaで書かれています。

これは動的にバイナリ値に小数点以下の値を変換するためのツールを使用して簡単です。それは9999999999999999999までの小数を取ることができます。

コード

次のように完全なテンプレートコードは次のようになります。

{{Decimal to binary converter|1234}}

しかし、これは次のように書き上げられることはできますが、redirect dec-binを通して使用する方がはるかに簡単です。

{{Dec-bin|1234}}

どちらも10011010010を出力します。

参照