Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
convert/decimal - convert to base 10
Calling Sequence
convert(n, decimal, b)
Parameters
n
-
integer, floating-point number, symbol, or string
b
integer from 2 to 36 or one of binary, octal, hexadecimal, or hex
Description
The function convert(n, decimal, b) converts a base b number where b is an integer from 2 through 36) to a decimal number. If n is a symbol or a string, it is assumed to be in the form of a either an integer or a floating-point number. The letters a (or A) through z (or Z) represent the digit values through , respectively. The digits used are not required to be less than the base, so 38B base 4 is equivalent to 1123 base 4, each being converted to the decimal value .
The keywords binary, octal, hexadecimal, and hex represent bases , , , and , respectively.
Examples
See Also
convert/base, convert/binary, convert/hex, convert/octal
Download Help Document