implement toString

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4678 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Nathan Curtis
2007-05-03 20:38:21 +00:00
parent 80f242616e
commit 5acc2b767a
+6
View File
@@ -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.
*/