Garry's Mod Wiki

bit.tohex

  string bit.tohex( number value, number digits = 8 )

Description

Returns the hexadecimal representation of the number with the specified digits.

Arguments

1 number value
The value to be normalized.
2 number digits = 8
The number of digits. Optional

Returns

1 string
hexString