HexToInteger (Any Value)

Name

HexToInteger

Syntax

HexToInteger (String value)

Purpose

To convert a hex value into an integer.

Description

Returns an integer representing the specified value. Returns null if the value cannot be converted to an integer

Return Type

Integer

Parameters

value [System.String] – Value to be converted

Example

In this example, we are passing a valid hex value to the function transformation object using a Variables object.

Where,

Value = F

In the output window, you can see that the Integer value 15 has been returned, corresponding to the provided hex value, F.

© Copyright 2023, Astera Software