When you use the member function DigitsOf() with a _DecimalT class template, you can find out the total number of digits n in a _DecimalT class template.
Figure 305. Example of Determining the Number of Digits in a _DecimalT Class Template
|
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.