(ページの作成:「{{doc/start}} {{shortcut|dec-bin}} {{lua|Convert base}} これは動的にバイナリ値に小数点以下の値を変換するための簡単なツールです。それ...」) |
Lukes20129 (トーク | 投稿記録) (カテゴリと言語間リンクの追加) |
||
(他の1人の利用者による、間の2版が非表示) | |||
1行目: | 1行目: | ||
+ | {{documentation header}} |
||
− | {{doc/start}} |
||
{{shortcut|dec-bin}} |
{{shortcut|dec-bin}} |
||
{{lua|Convert base}} |
{{lua|Convert base}} |
||
14行目: | 14行目: | ||
どちらも{{Dec-bin|1234}}で出力できます。 |
どちらも{{Dec-bin|1234}}で出力できます。 |
||
− | == 参照== |
+ | == 参照 == |
* {{tl|Decimal to hexadecimal converter}} |
* {{tl|Decimal to hexadecimal converter}} |
||
+ | |||
⚫ | |||
+ | <includeonly> |
||
− | [[fr:Modèle:Dec-hex/doc]] |
||
+ | [[カテゴリ:データテンプレート]] |
||
+ | |||
+ | [[de:Vorlage:Dezimal zu Binär]] |
||
+ | [[en:Template:Decimal to binary converter]] |
||
+ | [[nl:Sjabloon:Decimal to binary converter]] |
||
+ | [[pt:Predefinição:Decimal to binary converter]] |
||
+ | [[ru:Шаблон:Decimal to binary converter]] |
||
⚫ | |||
+ | [[de:Vorlage:Dezimal zu Binär/doc]] |
||
+ | [[en:Template:Decimal to binary converter/doc]] |
||
+ | [[nl:Sjabloon:Decimal to binary converter/doc]] |
||
+ | [[pt:Predefinição:Decimal to binary converter/doc]] |
||
+ | [[ru:Шаблон:Decimal to binary converter/док]] |
||
</noinclude> |
</noinclude> |
2020年3月15日 (日) 13:37時点における最新版
[キャッシュ破棄]
これは、メインテンプレートページに参照されるべきである解説ページです。詳細についてはテンプレート:Documentationを参照してくださいショートカット
このテンプレートは、モジュール:Convert baseを使用しています。また、このスクリプトはLuaで書かれています。
これは動的にバイナリ値に小数点以下の値を変換するための簡単なツールです。それは9999999999999999999までの小数を取ることができます。
コード
次のように完全なテンプレートコードは次のようになります。
{{Decimal to binary converter|1234}}
しかし、それは次のようにして書き込むことができますが、redirect dec-binを通して使用する方がはるかに簡単です。
{{Dec-bin|1234}}
どちらも10011010010で出力できます。