Difference between revisions of "FromBase Command"

From GeoGebra Manual
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{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. The base must be between 2 and 36. The number must be an integer.
 
: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.

Revision as of 10:57, 5 August 2015


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.
  • FromBase["100000000", 2] returns 256.
Note: See also ToBase command
© 2021 International GeoGebra Institute