oct2hex() Function

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

Syntax

oct2hex( value, [place] )

value: (Text) Octal value as text to convert, such as 771.

place: (Number) The number of places to return.

Returns

Text

Notes

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

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

Examples

oct2hex(144) returns 64

Open in Github Built: Fri, Jun 03, 2022 (01:08:29 PM)

On This Page

FEEDBACK