Using BigDecimal
The Sterling B2B Integrator allows you to use either Java™ double primitive or BigDecimal data types for real numbers. BigDecimal can be used regardless of the standard you are using, but if you are using a financial standard like SWIFT we highly recommend that you use BigDecimal. See BigDecimal Support for Real Numbers for more information on using this functionality. When processing SWIFT messages with BigDecimal mode turned off, real values (such as amounts) may be rounded when those messages are processed through the SWIFT Message Editor. When rounding occurs, the changed values are not reported.
If you are using BigDecimal mode on a per map basis for the SWIFT standard, you also need to enable BigDecimal (turn it on) for any validation pass-through maps you are using. It is also possible to use double primitive mode by default, but to enable BigDecimal mode on a per-map basis. Validation pass-through maps should have BigDecimal mode enabled (turned on).