DECIMAL function - Zoho Sheet - Help Guide

DECIMAL

Returns a decimal number given a text representation and its base.

 

Syntax

 

DECIMAL(number; radix)

number: Text representing a number. Eg., 1

radix: The base of the number. It must be an integer between 2 and 36. Eg., 2

 

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


Get a hands-on experience of the function in the embedded range below.   



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.

#NUM!

  • The given number contains characters other than those defined.

  • The radix value given is not appropriate to the given input.

 

Similar Functions