The Decimal function in Excel transforms a text representation of a number in a given base to a decimal value. Due to the fact that the Decimal function was just introduced in Excel 2013, it is not available in previous versions of Excel.
Syntax :
=DECIMAL ( text, radix )
Parameters :
Text :
Radix :
Example :
The spreadsheet below contains four instances of the Excel Decimal Function: The given text parameters in the following spreadsheet are all contained in quotation marks, as is necessary for Excel text strings; in cell A5, the supplied text “2000” is not a valid representation of a base 2 integer, and hence the Decimal function returns the #NUM! error.
Ask Your Query