NumDigits Property

The NumDigits property returns or sets the number of digits to the right of the decimal point. Returns a Short.

Syntax

object.NumDigits

object.NumDigits = NumDigits

 

Parameter Type Description
NumDigits Short required, number of digits

 

Example 1

This example demonstrates how to return the number of digits right of the decimal point.

Debug.Print LabelFormat.NumDigits

 

Example 2

This example demonstrates how to change the number of digits right of the decimal point to four.

LabelFormat.Format.NumDigits = 4

 

Used by: AutoLabelFormat object