A float slot contains values which are floating point numbers. Float numbers may include a decimal point. Values of type Float are stored on your system as floating point values, and are only as accurate as your system. When entering a Float value for an instance, you can use decimal point or exponential representation. You can enter positive and negative values. For example:
Representation | Description |
1234.56 | Standard decimal notation. |
1.23456E3 | Exponential notation, shorthand for 1.23456 · 103. Represents 1234.56 |
-1234.56 | Negative number. |
1.23456E-3 | Exponential notation with a negative exponent, shorthand for 1.23456 · 10-3. Represents 0.00123456. |
For convenience in typing, you can enter a lower case e instead of an uppercase E.
An instance with a Float/Single slot shows an entry bar:
To edit the value, simply click in the entry field and make your edits.
To set the value of a Float/Single slot, simply enter the number you want in the entry bar.
To clear a Float/Single slot, simply delete the value in the entry bar.
Note: The information in a Float field must be a floating point number. If you enter text or other invalid information, the entered text will be displayed in red and will not be saved by the system. The previous value (if any) will be used instead.
Invalid entry in a Float field
An instance with a Float/Multiple slot shows a display list with three buttons:
To edit a pre-existing value for a Float/Multiple slot:
Select the value you want to edit.
Click the View
button.
An Edit Float Value dialog box is displayed.
Edit the number directly in the dialog box.
Click OK.
To add a value to a Float/Multiple slot:
Click the Create button.
A Create Float Value dialog box is displayed.
Enter the number you want in the entry bar. The number may include a decimal point.
Click OK.
To remove a value from a Float/Multiple slot:
Select the value(s) you want to remove. You can select multiple values by holding down the Ctrl key.
Click the Remove button.
The selected values are removed.
Next: The Instance Fields