setComplex method

MathValue setComplex(
  1. MathComplex x
)

Implementation

MathValue setComplex( MathComplex x ){
	switch( _type ){
	case ClipMath.valueTypeComplex: _c.ass( x           ); break;
	case ClipMath.valueTypeFract  : _f.ass( x.toFloat() ); break;
	case ClipMath.valueTypeTime   : _t.ass( x.toFloat() ); break;
	}
	return this;
}