|
@@ -24,7 +24,7 @@
|
|
|
*/
|
|
|
package php;
|
|
|
|
|
|
-class PhpMath__
|
|
|
+class PhpMath__
|
|
|
{
|
|
|
public static var PI;
|
|
|
public static var NaN;
|
|
@@ -42,7 +42,7 @@ class PhpMath__
|
|
|
public static function log(v) { return untyped __call__("log", v); }
|
|
|
public static function sqrt(v) { return untyped __call__("sqrt", v); }
|
|
|
public static function round(v) { return untyped __call__("round", v); }
|
|
|
- public static function floor(v) { return untyped __call__("floor", v); }
|
|
|
+ public static function floor(v) { return untyped __call__("(int) floor", v); }
|
|
|
public static function ceil(v) { return untyped __call__("ceil", v); }
|
|
|
public static function atan(v) { return untyped __call__("atan", v); }
|
|
|
public static function asin(v) { return untyped __call__("asin", v); }
|