Data Types

Top Previous Topic Next Topic  Print this topic

The available data types are:

 

number

A real number specified in decimal notation. It consists of an integer or of an optional sign character followed by digits, eventually separated by a dot(.), depending on the format specified by the user.

 

date

A date specified in mm/dd/yyyy format.

 

string

Any sequence of characters that is not a date or a number.

 

length

A length is a distance measurement. The format of a length is a number optionally followed immediately by a unit identifier.

 

"1px" equals one device point (1/96 for most displays)

"1pt" equals "1.25px" (and therefore 1.25 user units)

"1pc" equals "15px" (and therefore 15 user units)

"1mm" would be "3.543307px" (3.543307 user units)

"1cm" equals "35.43307px" (and therefore 35.43307 user units)

"1in" equals "90px" (and therefore 90 user units)

 

Note:

·Use of px units or any other absolute unit identifiers can cause inconsistent visual results on different viewing environments since the size of "1px" may map to a different number of user units on different systems.

 

uri

Uniform Resource Identifiers ([URI] references): A URI is the address of a resource on the Web.

 

color

A color is either a keyword (see Recognized color keyword names) or a numerical RGB specification.