fromDecimal

Converts a number, or a string of numbers, into a hexadecimal string.

Usage

visionWeb.fromDecimal(number);

Parameters

ParameterDescriptionTypeDefault
numberNumber to convert to a hexadecimal string.number-

Returns

String

Example

visionWeb.fromDecimal(1000000);
> 0xf4240