public static void main(String[] args) throws Exception {
// Load the addin
Addin a = JXLL.load(ADDIN);
// Register the double arg function
a.registerFunction(new FunctionInformation("DoubleArg", "BB"));
// Call the double arg function
XLOper res = a.invoke("DoubleArg", new Double(2.));
// Display the result