Calculating big decimals in Orbeon

Discovered what appears to be a problem in calculating big decimals (greater than 1,000,000 ). I have a requirement where the total is a sum of all line items.

Each of the $ amounts on the line items is an xs:decimal . The sum is also a decimal. When the sum is greater than 1,000,000, [Orbeon] seems to store the result in an exponential format (e.g. 1.000000E6). This representation is invalid for an xs:decimal (the pink background is a style applied to invalid fields).


I solved the problem by casting the result back into a decimal:
- XPath to the rescue.


Now it looks the way it is desired:

Labels

orbeon orbeon Delete
xforms xforms Delete
error error Delete
tip tip Delete
workaround workaround Delete
calculate calculate Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.