Description:

This example demonstrates how to pad and round numbers using the different rounding algorithms and formatting classes. The code demonstrates how to pad a number using only significant digits, as well as with minimum fractional and integer digits. Use of the two types of rounding classes and algorithms show how a number can be rounded by its own, as well as in conjunction with the formatting classes.