Difference between revisions of "FromBase Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|algebra}}
 
{{command|algebra}}
 
;FromBase[ <Number as Text>, <Base> ]
 
;FromBase[ <Number as Text>, <Base> ]
:Converts given number from given [[w:Radix|base]] into decimal base.
+
:Converts given number from given [[w:Radix|base]] into decimal base. The base must be between 2 and 36. The number must be an integer.
 
{{Example|1=<code>FromBase["FF",16]</code> returns 255}}
 
{{Example|1=<code>FromBase["FF",16]</code> returns 255}}

Revision as of 22:10, 26 May 2012


FromBase[ <Number as Text>, <Base> ]
Converts given number from given base into decimal base. The base must be between 2 and 36. The number must be an integer.
Example: FromBase["FF",16] returns 255
© 2021 International GeoGebra Institute