class ConvertUtil extends AbstractCaller {

    @UtilityMethod
    @Description("Converts a Long DEC value to String HEX.<br/>"
            + "<b>value</b> - a value for converting.<br/>"
            + "Example:<br/>"
            + "#{decToHex(\"7062990022244305817L\")} returns 6204C80100000B99")
    public String decToHex(Number value) {
        return value == null ? null : Long.toString(value.longValue(), 16).toUpperCase();
    }

}