Difference between revisions of "FromBase Command"
From GeoGebra Manual
(Created page with "<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=5.0}} {{command|algebra}} ;FromBase[ <Number as Text>, <Base> ] :Converts given number from given [[w:Rad...") |
(command syntax: changed [ ] into ( )) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|algebra}} |
− | {{command|algebra}} | + | ;FromBase( "<Number as Text>", <Base> ) |
− | ;FromBase | + | :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. | + | :{{Example|1=<div> |
− | {{Example|1=<code>FromBase | + | :*<code>FromBase("FF", 16)</code> returns 255. |
+ | :*<code>FromBase("100000000", 2)</code> returns 256. </div>}} | ||
+ | {{Note|1=See also [[ToBase Command|ToBase]] command}} |