in actionscript, how to tell whether the type of a number if Number or int or uint?

Posted by ty on Stack Overflow See other posts from Stack Overflow or by ty
Published on 2010-04-19T17:38:09Z Indexed on 2010/04/19 17:43 UTC
Read the original article Hit count: 146

var n:Number = 1;
trace("n is Number:" + (n is Number)); //true
trace("n is int:" + (n is int)); //true
trace("n is uint:" + (n is uint)); //true

var m:Number = 1;
trace("m is Number:" + (m is Number)); //true
trace("m is int:" + (m is int)); //true
trace("m is uint:" + (m is uint)); //true

They all true! in actionscript, how to tell whether the type of a number if Number or int or uint?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about actionscript