This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -49,13 +49,12 @@ import flash.Boot;
return untyped __int__(x);
}
public static function parseInt(x:String):Null<Int>
untyped {
var v = __global__["parseInt"](x);
if (__global__["isNaN"](v))
return null;
return v;
}
public static function parseInt(x:String):Null<Int> {
final v = flash.Lib.parseInt(x);
if (Math.isNaN(v))
return null;
return cast v;
}
public static function parseFloat(x:String):Float {
return untyped __global__["parseFloat"](x);