Declaring _DecimalT Class Template Objects

To declare an object as a _DecimalT class template:
_DecimalT<10,2>  x;

 _DecimalT<5,0>   z;
 _DecimalT<18,10> *ptr.;
 _DecimalT<8,2>   arr[100];
Note:
  1. The variable x can have values from __D("-99999999.99") to __D("+99999999.99")
  2. The variable z can have values from __D("-99999") to __D("+99999")
  3. ptr is a pointer to an object of type _DecimalT<18,10>
  4. arr is an array of 100 elements, where each element is of class _DecimalT<8,2>
  5. Leading zeros show the size of the number of digits in the _DecimalT class templates. You do not need to enter leading zeros in your _DecimalT class templates.