NumDigits Property

NumDigits returns or sets the number of digits to the right of the decimal point. Returns an integer.

Syntax

object.NumDigits

object.NumDigits = NumDigits

Parameter

Type

Description

NumDigits

Integer

required

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.NumDigits = 4

Used by: LabelFormat object