NumToHex
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Converts a specified number to a hexadecimal string, optionally of the specified width.
Syntax
(string) NumToHex ToConvert:int Width:int
Example
string_var hex_index let hex_index := NumToHex 42, 2 ; hex_index == "2A"