Free Support Forum - aspose.com

Aspose.Words 11.4 Formula with floating point and no leading 0 gives wrong result

We have Aspose.Words 11.4 currently deployed and we are running in to a problem where the formula evaluation in a table seems to ignore the period for floating point numbers if there there is no leading zero.

Ex.

0.123 gets treated as 0.123

.123 gets treated as 123 causing huge numbers in the evaluations with a bunch of numbers that are all less then 1.

Is there some way to make this work without the leading zero? Changing the program that fills in the Word document is not really an options at this point.

Thanks.

Hi Scott,


Thanks for your inquiry. Could you please attach your input Word document and code here for testing? I will investigate the issue on my side and provide you more information.

Best Regards,

Sorry it took so long, I have been busy. I have attached a zip file that contains a PDF that was created by Aspose for Java 11.4 and the RTF document that it was created from.