Hex


The hex(string) function returns the base 10 equivalent to the hexadecimal value represented by the given string. This function has been deprecated and is replaced by the Hex2Dec function.

Note that beginning with Origin 2019, the Origin worksheet supports direct display and manipulation of hex numbers. For information, see How do I use hexadecimal values in my data sheet?

Example

hex(A2) = 162;