Workbench User Guide : 9. Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The float_field Field Template
 
Share this page                  
The float_field Field Template
The float_field field template is used to create an entry field of the type float.
Create a Float Field
You can create a float field using the float_field template in the Frame Editor.
To create a float field
1. On the Develop tab, in the Components portlet, open the frame in which you want to create the field from the field template.
2. Click Insert, Field From Field Template.
The Select a Field Template dialog appears.
3. Select the core application and the float_field template, and then click OK.
4. Position the field on the frame.
The field is created and displayed in the Frame Editor.
How You Can Use a Float Field
When you run the frame, an entry field appears, containing a value of type float, with a default value of 0.000:
You can enter any valid number such as 1.345 or 1.2E300. The field accepts only valid float values from -1.0E308 to 1.0E308.