This class is designed for the command keywords that have floating-point values.
Constructor.
Argument | Type | Default | Description |
command | AFXCommand | Host command. | |
name | String | Keyword name. | |
isRequired | Bool | False | True if the keyword is a required argument of the command. |
defaultValue | Float | FLOAT_DEFAULT | Default value. |
precision | Int | 6 | Precision for converting the keyword's floating-point value to a text string. |
Returns the precision that is used for converting the keyword's floating-point value to a text string.
Returns the keyword's current value, or zero if the content expression is invalid.
Returns the text string that represents the keyword's current value.
Implements AFXKeyword.
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
Sets the keyword's default value.
Argument | Type | Default | Description |
defaultValue | String | Default value. |
Sets the keyword's default value.
Argument | Type | Default | Description |
defaultValue | Float | Default value. |
Sets the precision that is used for converting the keyword's floating-point value to a text string.
Argument | Type | Default | Description |
precision | Int |
Sets the keyword's current value.
Argument | Type | Default | Description |
newValue | String | New value. |
Sets the keyword's current value.
Argument | Type | Default | Description |
newValue | Float | New value. |
Sets the keyword value to its default.
Argument | Type | Default | Description |
ignoreUnspecified | Bool | False | Ignore setting the value if the default is unspecified. |