Class pvr.controller.converters.FloatConverter
Extends
pvr.controller.converters._Converter.
Extends the pvr.controller.converters._Converter class to convert values and obtain the default value for
values of type "float".
Values of type "float" are represented by JavaScript number primitives.
Defined in: <pvr\controller\converters\FloatConverter.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The default pvr.controller.converters.FloatConverter instance.
|
|
<constant> |
Indicates the type of values that are supported by this converter.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
Overloaded to include the controller's "pattern" and "places" attribute values in the settings that are passed to the
pvr.controller.value.Value#to method.
|
|
Overloaded to include the controller's "pattern", "places", "autoRound," and "zeroIfNull" attribute values in
the settings that are passed to the pvr.controller.value.Value#to method.
|
- Methods borrowed from class pvr.controller.converters._Converter:
- format, getDefaultValue, parse
- Methods borrowed from class pvr.logging._LoggerMixin:
- logDebug, logEntry, logError, logExit, logInfo, logWarning
Field Detail
Default
The default pvr.controller.converters.FloatConverter instance.
<constant> type
Indicates the type of values that are supported by this converter.
Method Detail
computeFormatSettings()
Overloaded to include the controller's "pattern" and "places" attribute values in the settings that are passed to the
pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.
computeParseSettings()
Overloaded to include the controller's "pattern", "places", "autoRound," and "zeroIfNull" attribute values in
the settings that are passed to the pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.