# HEX2DEC

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function converts a hexadecimal number to a decimal number.

## Syntax

HEX2DEC(*number*)

## Arguments

Specify the number to convert, which is limited to a maximum of 10 characters.

## Remarks

An error value is returned if the *number* is invalid or more than 10 characters.

## Data Types

Accepts numeric data. Returns numeric data.

## Examples

`HEX2DEC("FF")`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[HEX2BIN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionHEX2BIN) \| [HEX2OCT](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionHEX2OCT) \| [BIN2DEC](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionBIN2DEC) \| [OCT2DEC](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionOCT2DEC) \| [Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer)