Difference between revisions of "ToBase Command"

From GeoGebra Manual
Jump to: navigation, search
(added link to FromBase)
Line 4: Line 4:
 
:Converts given number into different [[w:Radix|base]]. The base must be between 2 and 36. The number must be an integer.
 
:Converts given number into different [[w:Radix|base]]. The base must be between 2 and 36. The number must be an integer.
 
{{Example|1=<code>ToBase[255,16]</code> returns "FF"}}
 
{{Example|1=<code>ToBase[255,16]</code> returns "FF"}}
 +
{{Note|1=See also [[FromBase Command|FromBase]] command}}

Revision as of 08:54, 29 May 2012


ToBase[ <Number>, <Base> ]
Converts given number into different base. The base must be between 2 and 36. The number must be an integer.
Example: ToBase[255,16] returns "FF"
Note: See also FromBase command
© 2024 International GeoGebra Institute