when debugging an xslt problem recently, I ran into this finding that, IBM JVM shipped with RAD , no matter it is JDK, JRE, no matter it is WAS 6 jre, WAS 7 jre. All having problem giving result of below function call
format-number('199.9999999995', '#,##0.00')
the result is 199.00 in the pdf! (I used an dummy xml input and the xslt which contains this line, to have a pdf output via fop 0.20, through command java call).
why i am saying that it is with IBM JVM (mabe the xerces.jar?) , when running this with JRE shipped with my windows 7 system (version 6 , detailed version information to be supplemented), it works fine , "200.00" it is.
This confuses me much and i have been searching through the Internet but don't have a clue.
Is it possible the problem lies in fop too? I might give it a shot later. Not convert to pdf but xml + xslt -> xml.