XFA Specification
Chapter 2, Template Features for Designing Static Forms
Content Types
40
Boolean, Integer, Decimal, and Float
The
boolean
,
decimal
,
float
, and
integer
content type elements may enclose numbers that comply
with the corresponding canonical number forms, as specified in
“Canonical Format Reference” on
page 797.
In most cases, people filling out a form will supply numeric data in a form specific for the locale and using
local-specific symbols. As described in
“Localization and Canonicalization” on page 140,
such localized
numeric data is converted to a canonical format before being represented as data in the form. Similarly,
canonical data is converted into a localized form before being present to the user.
Numeric
content type
boolean
Description
The content of a boolean element must be one of the following:
Digit
0 (U+0030)
1 (U+0031)
Meaning
Logical value of false
Logical value of true
integer
An optional leading sign (either a plus or minus, Unicode character U+002B or U+002D
respectively), followed by a sequence of decimal digits (Unicode characters U+0030 -
U+0039). There is no support for the expression of an exponent. Examples of canonical
integer content are shown below:
12
-3
Home Index Bookmark Pages
Pages: Home Index All Pages