C# 클래스 SGDE.Content.Code.Library.Global

Top level or global functions are available in any place where ActionScript is used, or in any user-defined class.
파일 보기 프로젝트 열기: sgdc/sgdc-old

공개 프로퍼티들

프로퍼티 타입 설명
undefined Object

공개 메소드들

메소드 설명
decodeURI ( String uri ) : String

Decodes an encoded URI into a string.

encodeURI ( String uri ) : String

Encodes a string into a valid URI (Uniform Resource Identifier).

isFinite ( Number num ) : Boolean

Returns true if the value is a finite number, or false if the value is Infinity or -Infinity.

isNaN ( Number num ) : Boolean

Returns true if the value is NaN(not a number).

parseFloat ( String str ) : Number

Converts a string to a floating-point number.

parseInt ( String str ) : Number

Converts a string to an integer.

parseInt ( String str, uint radix ) : Number

Converts a string to an integer.

비공개 메소드들

메소드 설명
validForNum ( char c, uint radix, bool flt ) : bool
validForNum ( string str, int index, uint radix, bool flt ) : bool

메소드 상세

decodeURI() 공개 정적인 메소드

Decodes an encoded URI into a string.
public static decodeURI ( String uri ) : String
uri String A string encoded with the encodeURI function.
리턴 String

encodeURI() 공개 정적인 메소드

Encodes a string into a valid URI (Uniform Resource Identifier).
public static encodeURI ( String uri ) : String
uri String A string representing a complete URI.
리턴 String

isFinite() 공개 정적인 메소드

Returns true if the value is a finite number, or false if the value is Infinity or -Infinity.
public static isFinite ( Number num ) : Boolean
num Number A number to evaluate as finite or infinite.
리턴 Boolean

isNaN() 공개 정적인 메소드

Returns true if the value is NaN(not a number).
public static isNaN ( Number num ) : Boolean
num Number A numeric value or mathematical expression to evaluate.
리턴 Boolean

parseFloat() 공개 정적인 메소드

Converts a string to a floating-point number.
public static parseFloat ( String str ) : Number
str String The string to read and convert to a floating-point number.
리턴 Number

parseInt() 공개 정적인 메소드

Converts a string to an integer.
public static parseInt ( String str ) : Number
str String A string to convert to an integer.
리턴 Number

parseInt() 공개 정적인 메소드

Converts a string to an integer.
public static parseInt ( String str, uint radix ) : Number
str String A string to convert to an integer.
radix uint An integer representing the radix (base) of the number to parse. Legal values are from 2 to 36.
리턴 Number

프로퍼티 상세

undefined 공개적으로 정적으로 프로퍼티

A special value that applies to untyped variables that have not been initialized or dynamic object properties that are not initialized.
public static Object undefined
리턴 Object