hex2oct() Function

Function

hex2oct( value, place )

Converts a Hex number as text to an Octal number as text.

Parameters

Keyword Type Description

value

Text

Hex value as text to convert, such as A5.

place

Number

The number of places in the result.

Returns

Text

Usage considerations

Using the value parameter

Invalid digits for a value parameter, including signs, are ignored.

Using the place parameter

The default value for place is however many places are necessary to represent the number.

Examples

hex2oct(64) returns 144

Open in Github Built: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK