Syntax

expression.FixedDecimal

expression A variable that represents an Application object.

Example

This example sets the FixedDecimal property to True and then sets the FixedDecimalPlaces property to 4. Entering "30000" after running this example produces "3" on the worksheet, and entering "12500" produces "1.25."

Visual Basic for Applications
Application.FixedDecimal = True Application.FixedDecimalPlaces = 4
Enter currency data without typing the decimal point? Enter data with an implied decimal point? fixed fixed decimal Fixed Decimal Property FixedDecimal FixedDecimal Property Turn on fixed decimal?

See also: