This template makes it easy to convert decimal numbers to ternary.

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.

change