Difference between revisions of "Template:Octal"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (add category)
 
Line 8: Line 8:
  
 
The Template handles values of up to 4095 correctly. (larger values are truncated on the high end.
 
The Template handles values of up to 4095 correctly. (larger values are truncated on the high end.
[[Category: Templates|Octal]]
+
[[Category: Math Templates|Octal]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:16, 11 April 2020

Expression error: Unrecognized punctuation character "{".Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.

This template converts numbers to Octal notatation.

Use is {{Octal|Number}}

The template correctly handles negative numbers.

The Template handles values of up to 4095 correctly. (larger values are truncated on the high end.