NumToHex
Revision as of 07:21, 21 July 2014 by imported>Odessa (created)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
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"