MSDN just published a new white-paper about all the ins and outs of Data Types in Excel Services UDFs.