Std

class StdAvailable in flash, flash9, neko, js, php, cppThe Std class provides standard methods for manipulating basic types. static function int( x : Float ) : IntAvailable in flash, neko, js, cppConvert a Float to an Int, rounded down. static inline function int( x : Float ) : IntAvailable in flash9, phpConvert a Float to an Int, rounded down. static function is( v : Dynamic, t : Dynamic ) : BoolTells if a value v is of the type t. static function parseFloat( x : String ) : FloatConvert a String to a Float, parsing different possible representations. Depending on the target and platform, strings that cannot be parsed may return null or 0. static function parseInt( x : String ) : Null<Int>Convert a String to an Int, parsing different possible representations. Depending on the target and platform, strings that cannot be parsed may return null or 0. Some targets treat strings that start with 0 as octal. static function random( x : Int ) : IntReturn a random integer between 0 included and x excluded. static function string( s : Dynamic ) : StringConvert any value to a String
version #9132, modified 2010-08-23 17:09:40 by ianxm