Reference : Attribute types : Float
  
Float
The float attribute contains a numerical value with a decimal point, that is numbers that contain a fractional part such as 3.14. The float numbers that are used when using a formula are not localized.
If the format is incorrect, this error message is displayed:
The expression is not valid: Localized number format is not supported in expressions and formula. Valid number format is '1546.321'
To change the value of a float attribute
1 Click the attribute value.
2 Type a new value and press Enter, or click the Save link.
You can type numbers or expressions. The attribute values that start with an equal sign (=) are interpreted as expressions, and all of the other values are interpreted as float numbers.
Float settings
You can use float attributes to enter real numbers that contain a fractional part, for example, 3.14. The separator depends upon the locale setting; the number format can have a period (full stop) or a comma, for example: 1.5 or 1,5.
.
Setting
Name and description
Value
You can configure the following setting:
Default Value: The value of the float attribute for a new element.
Visual
You can configure the following settings:
Prefix: The text to be displayed before the value.
Suffix: The text to be displayed after the value.
Java Decimal Pattern: Enter a valid Java Pattern for formatting the display of the Float Attributes. This pattern will be used when float attributes are displayed in the GUI. (This will not have any effect when the attributes are exported/imported using Microsoft Excel or REST calls.) For details of valid patterns that can be used, please refer to https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html.
Mandatory
Note Mandatory settings do not apply when you add folders.
You can configure the following settings:
Mandatory: A check box to make sure, when selected, that users enter a value for this attribute. Mandatory attributes are displayed with an asterisk.
Feedback Text: The text to display when users do not specify a value for the mandatory attribute. Tip: You might use mandatory settings to remind users to enter a value. For example, if users do not enter the Total Implementation Cost, a window with this text opens:
Do you want to provide the Total Implementation Cost?
Confirm Dialog
You can configure the following settings:
Display Dialog: A check box to ensure, when selected, that a confirmation window opens if users do not specify a value for the float attribute.
Dialog Text: The text to be displayed in the confirmation window that opens when users do not specify a value for the float attribute.
Change Log
You can configure the following setting:
Log Changes: A check box to ensure, when selected, that history logs are created for each change of the attribute value.
Integration
You can configure the following settings:
Property URI: A unique URI according to the Open Services for Lifecycle Collaboration (OSLC) standard for the attribute.
Alias: The alias to use when integrating with other tools. The default alias is an auto-generated random Universally Unique Identifier (UUID). You can change the alias, but it must be unique.
Copy Default Value To All Elements
A push button to copy the default values of the attribute to all the elements in the module that contain the attribute. The previous values of this attribute are lost. If mail is configured, you receive a report of the outcome. If the attribute contains expressions, only valid expressions are run.
See also
Attribute types