ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.fiber.runtime.lib 

ConversionFunc  - AS3 ADEP Data Services

Packagecom.adobe.fiber.runtime.lib
Classpublic class ConversionFunc
InheritanceConversionFunc Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 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
Public Methods
 MethodDefined By
 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

toDouble

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

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 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: Adobe Digital Enterprise Platform Data Services for Java EE 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: Adobe Digital Enterprise Platform Data Services for Java EE 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: Adobe Digital Enterprise Platform Data Services for Java EE 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: Adobe Digital Enterprise Platform Data Services for Java EE 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the string representation of a value.

Parameters

value:Object — Value

Returns
String — String