Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
com.adobe.fiber.runtime.lib 
ConversionFunc 
Packagecom.adobe.fiber.runtime.lib
Classpublic class ConversionFunc
InheritanceConversionFunc Inheritance Object

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

The ConversionFunc class defines the implementations of the expression runtime functions for conversion in the Adobe application modeling language.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
[static]
ConversionFunc
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
[static] Converts a string to a double.
ConversionFunc
  
[static] Converts a string to a float.
ConversionFunc
  
[static] Converts a string to an integer.
ConversionFunc
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
  
[static] Converts a string to a long.
ConversionFunc
  
[static] Returns the string representation of a value.
ConversionFunc
 Inherited
Returns the primitive value of the specified object.
Object
Method Detail

ConvertCharCollectionToString

()method
public static function ConvertCharCollectionToString(charCollection:ArrayCollection):String

Parameters

charCollection:ArrayCollection — a collection of character strings

Returns
String — a string made out of the characters

toDouble

()method 
public static function toDouble(s:Object):Number

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Converts a string to a double.

Parameters

s:Object — String to convert

Returns
Number — Integer value

toFloat

()method 
public static function toFloat(s:Object):Number

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Converts a string to a float.

Parameters

s:Object — String to convert

Returns
Number — Integer value

toInteger

()method 
public static function toInteger(s:Object):int

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Converts a string to an integer.

Parameters

s:Object — String to convert

Returns
int — Integer value

toLong

()method 
public static function toLong(s:Object):int

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Converts a string to a long.

Parameters

s:Object — String to convert

Returns
int — Integer value

toString

()method 
public static function toString(value:Object):String

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the string representation of a value.

Parameters

value:Object — Value

Returns
String — String