fracDigits

Specifies the maximum number of digits (inclusively) following the decimal point to capture and store.

Syntax

Reference_Syntax.fracDigits = "2 | integer"

Values

Type

Values

String

  • 2 (default)

  • A string representing any valid integer value.

Applies to

Model

Object

Form Model

decimal

Version

XFA 2.1

Examples

The numeric field data type should be set to decimal.

JavaScript

NumericField1.resolveNode("value.#decimal").fracDigits = "3";

FormCalc

NumericField1.value.#decimal.fracDigits = "3"

// Ethnio survey code removed