Packageorg.spicefactory.lib.reflect.converter
Classpublic class NumberConverter
ImplementsConverter

Converts Number values.



Public Properties
 PropertyDefined by
  INSTANCE : NumberConverter
[static]
NumberConverter
Public Methods
 MethodDefined by
  
Creates a new Converter instance.
NumberConverter
  
convert(value:*):*
Converts the specified value to the target type this Converter is implemented for.
NumberConverter
Property detail
INSTANCEproperty
public static var INSTANCE:NumberConverter
Constructor detail
NumberConverter()constructor
public function NumberConverter()

Creates a new Converter instance.

Method detail
convert()method
public function convert(value:*):*

Converts the specified value to the target type this Converter is implemented for. Implementations should return the value unchanged if it is already of the target type.

Parameters
value:* — the value to be converted

Returns
* — the converted value