|
@@ -38,7 +38,7 @@ import lua.Boot;
|
|
}
|
|
}
|
|
|
|
|
|
public static inline function int( x : Float ) : Int {
|
|
public static inline function int( x : Float ) : Int {
|
|
- return lua.Boot.i32(x > 0 ? Math.floor(x) : Math.ceil(x));
|
|
|
|
|
|
+ return x > 0 ? Math.floor(x) : Math.ceil(x);
|
|
}
|
|
}
|
|
|
|
|
|
public static function parseInt( x : String ) : Null<Int> {
|
|
public static function parseInt( x : String ) : Null<Int> {
|