ILE C/C++ Programmer's Guide

Handling Extra Precision for Multiplication and Division

The _DecimalT class template allows a maximum of 62 and 93 digits as the internal results for the multiplication and division operations respectively. This is different from the ILE C packed decimal data type in which a maximum of 31 digits is used for both operations.

Note:
This internal result is different from the intermediate result. The internal result is designated to store the temporary result during the operation. After the operation is completed, the internal result is converted to the intermediate result and returned to the caller.


[ Top of Page | Previous Page | Next Page | Table of Contents ]