Dinoguy1000 (diskuse | příspěvky) (the category needs to be moved too) |
m (naimportována 1 revize: Import EN templates) |
(Žádný rozdíl)
|
Aktuální verze z 17. 7. 2017, 10:46
- Shortcut
- dec-bin
This template uses Module:Convert base, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
This is a simple to use tool for dynamically converting decimal values to binary values. It can take decimal numbers up to 9999999999999999999.
Code
In full the template code is as follows:
{{Decimal to binary converter|1234}}
But it is much easier to use it through the redirect dec-bin which allows it to be written out as:
{{Dec-bin|1234}}
Both of which will output 10011010010.
See also
[view | edit | history | purge]The above documentation is transcluded from Šablona:Decimal to binary converter/doc.