A set of static utility methods for data types.
author: djd
Method Summary
public static int
computeMaxWidth(int precision, int scale) Compute the maximum width (column display width) of a decimal or numeric data value,
given its precision and scale.
Parameters: precision - The precision (number of digits) of the data value. Parameters: scale - The number of fractional digits (digits to the right of the decimal point).
public static int computeMaxWidth(int precision, int scale)(Code)
Compute the maximum width (column display width) of a decimal or numeric data value,
given its precision and scale.
Parameters: precision - The precision (number of digits) of the data value. Parameters: scale - The number of fractional digits (digits to the right of the decimal point). The maximum number of chracters needed to display the value.