implement toString
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4678 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -56,6 +56,12 @@ public class Integer
|
||||
return value;
|
||||
}
|
||||
|
||||
// cannot use the override keyword on toString() because actionscript is stupid
|
||||
public function toString () :String
|
||||
{
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Compares to int values in an overflow safe manner.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user