Unary operators

Use the following unary operators to determine the digits in a decimal data type:
sizeof
Determines the total number of bytes occupied by the decimal data type
digitsof
Determines the number of digits (n)
precisionof
Determines the number of decimal digits (p)