fromDecimal = function (value) {
    var number = toBigNumber(value);
    var result = number.toString(16);

    return number.lessThan(0) ? '-0x' + result.substr(1) : '0x' + result;
}
Converts value to it's hex representation

@method fromDecimal
@param {String|Number|BigNumber}
@return {String}