Patch to add TEXT function support. The support is not 100% compatible with the Excel function because the decimal formatting relies on the DecimalFormat class and the date formatting relies on SimpleDateFormat. And the formatting strings have a little variance to their Excel counterparts.
Created attachment 25217 [details] proposed patch for TEXT function
Created attachment 25218 [details] Test Case for the TEXT function patch [tar.bz2 FILE]
applied in r937652 Regards, Yegor