Method GetPrecision
GetPrecision(decimal)
Gets the precision (total number of significant digits) of a decimal value.
public static byte GetPrecision(this decimal value)
Parameters
valuedecimalThe decimal value to examine.
Returns
- byte
The total number of significant digits.