Class sap.ui.model.type.FloatModule: sap/ui/model/type/Float
extends SimpleType
This class represents float simple types.
Constructor Summary
Method Summary
sap.ui.model.type.Float.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.model.type.Float with name 
sClassName and enriches it with the information contained in oClassInfo.Methods borrowed from class sap.ui.model.SimpleType
Methods borrowed from class sap.ui.model.Type
Methods borrowed from class sap.ui.base.Object
 Constructor Detail 
 new sap.ui.model.type.Float(oFormatOptions?, oConstraints?) 
 Constructor for a Float type. 
Parameters:
| {object} | oFormatOptions? | formatting options. Supports the same options as NumberFormat.getFloatInstance | 
| {object} | oFormatOptions.source? | additional set of format options to be used if the property in the model is not of type string and needs formatting as well. In case an empty object is given, the default is disabled grouping and a dot as decimal separator. | 
| {object} | oConstraints? | value constraints. | 
| {float} | oConstraints.minimum? | smallest value allowed for this type | 
| {float} | oConstraints.maximum? | largest value allowed for this type | 
 Method Detail 
 sap.ui.model.type.Float.extend(sClassName, oClassInfo?, FNMetaImpl?): function
 Creates a new subclass of class sap.ui.model.type.Float with name 
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of information as described in sap.ui.model.SimpleType.extend. 
Parameters:
| {string} | sClassName | Name of the class being created | 
| {object} | oClassInfo? | Object literal with information about the class | 
| {function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata | 
Returns:
| {function} | Created class / constructor function | 
 sap.ui.model.type.Float.getMetadata(): sap.ui.base.Metadata
 Returns a metadata object for class sap.ui.model.type.Float. 
Returns:
| {sap.ui.base.Metadata} | Metadata object describing this class |