C# Class Scorpio.Variable.ScriptNumberDouble

Inheritance: Scorpio.ScriptNumber
显示文件 Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Public Methods

Method Description
Abs ( ) : ScriptNumber
Assign ( ) : ScriptObject
AssignCompute ( TokenType type, ScriptObject obj ) : ScriptObject
Calc ( CALC c ) : ScriptNumber
Clamp ( ScriptNumber min, ScriptNumber max ) : ScriptNumber
Clone ( ) : ScriptObject
Compare ( TokenType type, ScriptObject obj ) : bool
Compute ( TokenType type, ScriptObject obj ) : ScriptObject
Floor ( ) : ScriptNumber
Negative ( ) : ScriptNumber
ScriptNumberDouble ( Script script, double value ) : System
ToDouble ( ) : double

Method Details

Abs() public method

public Abs ( ) : ScriptNumber
return Scorpio.ScriptNumber

Assign() public method

public Assign ( ) : ScriptObject
return Scorpio.ScriptObject

AssignCompute() public method

public AssignCompute ( TokenType type, ScriptObject obj ) : ScriptObject
type TokenType
obj Scorpio.ScriptObject
return Scorpio.ScriptObject

Calc() public method

public Calc ( CALC c ) : ScriptNumber
c CALC
return Scorpio.ScriptNumber

Clamp() public method

public Clamp ( ScriptNumber min, ScriptNumber max ) : ScriptNumber
min Scorpio.ScriptNumber
max Scorpio.ScriptNumber
return Scorpio.ScriptNumber

Clone() public method

public Clone ( ) : ScriptObject
return Scorpio.ScriptObject

Compare() public method

public Compare ( TokenType type, ScriptObject obj ) : bool
type TokenType
obj Scorpio.ScriptObject
return bool

Compute() public method

public Compute ( TokenType type, ScriptObject obj ) : ScriptObject
type TokenType
obj Scorpio.ScriptObject
return Scorpio.ScriptObject

Floor() public method

public Floor ( ) : ScriptNumber
return Scorpio.ScriptNumber

Negative() public method

public Negative ( ) : ScriptNumber
return Scorpio.ScriptNumber

ScriptNumberDouble() public method

public ScriptNumberDouble ( Script script, double value ) : System
script Script
value double
return System

ToDouble() public method

public ToDouble ( ) : double
return double