class ConvertUtil extends AbstractCaller {

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

}