<decimal> Element

Specifies that this property attribute takes a decimal value.

Syntax

<decimal 
    places="numberOfDecimalPlaces"
    min-value="minimumValueAllowed"
    max-value="minimumValueAllowed"
/>

Attributes

min-value

 

Specifies the minimum value that this attribute may have.

Allowable values: Any decimal.

Use: Optional.

Type: xs:decimal.

Default value: None.

max-value

Specifies the maximum value that this attribute may have.

Allowable values: Any decimal.

Use: Optional.

Type: xs:decimal.

Default value: None.

places

Specifies the number of places to the right of the decimal.

Allowable values: Any integer.

Use: Optional.

Type: xs:int

Default value: None.

Type

This element does not contain a value.

Hierarchy

Parent: attribute.

Children: None.

Remarks

This element is one of several you can use to specify the type of a property attribute's value. The complete list includes boolean, class-name, class-names, date, decimal, enumeration, file-path, integer, QNAME, text, URI, URL, URN, XML, or custom. Note that you may use only one of these types for a given attribute.

Related Topics

Control Property Schema Reference

Tutorial: Java Control