Simple Operations
Instead of using operators like "+" and "-" to perform basic arithmetic with Fixed Decimals, you must use methods to perform these operations.
For example, if we had two Business Objects called earth and moon, and each had a weight attribute of Fixed Decimal type, in order to add the two fixed decimals together, we would use the add() method of the Fixed Decimal attribute:
There are similar methods called subtract(), multiply(), and divide() that can be used to perform the other arithmetic operators. For more details on these methods, see the reference section at the end of this document.
Copyright © Cloud Software Group, Inc. All rights reserved.