SUM(ABOVE) with negative values

I’m having problems getting the SUM(ABOVE) to work when there is negative values. I’ve attached the document - the code is the simple standard load Document, UpdateFields(), save to disk
Are we using unsupported format codes in Aspose, Word seems to be handling it when updating the field manually. Thanks for any help.


Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved. As a workaround of this problem you can try removing brackets around numbers, after removing and setting culture all works fine:

// Set culture
CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture;
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
// Open document.
Document doc = new Document("yourDoc.docx");
Thread.CurrentThread.CurrentCulture = currentCulture;

Best regards,

The issues you have found earlier (filed as WORDSNET-3526) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.