Spreadsheet Formula Error
I am using ColdFusion 11 and trying to use FDIST function in a spreadsheet to get F-distribution value. The error I'm getting is that, it does not like the semicolon in the formula. In the exception.log file I see this error, org.apache.poi.ss.formula.FormulaParseException: Parse error near char 7 ';' in specified formula 'FDIST(1;4;5)'. Expected ',' or ')'
The simplified code is as follows:
<cfset sObj = SpreadsheetNew()>
<cfset sFormula = "FDIST(1;4;5)">
<cfset spreadsheetSetCellFormula(sObj, sFormula, 1, 1)>
<cfset iValue = spreadsheetGetCellValue(sObj, 1, 1)>
<cfoutput>
<p>Value = #iValue#</p>
</cfoutput>
Please let me know how this can be fixed. Any ideas?
Info about FDIST function Documentation/How Tos/Calc: FDIST function - Apache OpenOffice Wiki
Thanks.
Milind
