Returns a decimal number given a text representation and its base.
Syntax
number: Text representing a number. Eg., 1
|
Type |
Range |
Radix |
|
Binary |
0-1 |
2 |
|
Octal |
0-7 |
8 |
|
Decimal |
0-9 |
10 |
|
Hexadecimal |
0-9 and A-F |
16 |
|
Hexatrigesimal |
0-9 and A-Z |
36 |
Remarks
It is case-insensitive i.e., "A" and "a" are considered the same.
Examples
|
Formula |
Result |
|
=DECIMAL(1;2) |
1 |
|
=DECIMAL(A3;B3) |
175 |
|
=DECIMAL(A4;B4) |
63 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#NUM! |
|
Similar Functions