Template:Ternary
![]() | This template uses Lua: |
This template makes it easy to convert decimal numbers to ternary.
Usage
[edit]Use: {{Ternary|x}} where x is the decimal number.
Example: {{Ternary|4632}} yields 201001203.
Numbers outside the range of -9007199254740992 to 9007199254740992 may lose precision.
See also
[edit]Math templates | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
The above documentation is transcluded from Template:Ternary/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.