Index: samples/third_party/dromaeo/common/Math2.dart |
diff --git a/samples/third_party/dromaeo/common/Math2.dart b/samples/third_party/dromaeo/common/Math2.dart |
index 6f713d800b793402ef3fd72c7b3db8dd9416122a..20f08faeab099f799aab687945332c6b05143f5a 100644 |
--- a/samples/third_party/dromaeo/common/Math2.dart |
+++ b/samples/third_party/dromaeo/common/Math2.dart |
@@ -27,11 +27,11 @@ class Math2 { |
} |
static int round(double d) { |
- return d.round().toInt(); |
+ return d.round(); |
} |
static int floor(double d) { |
- return d.floor().toInt(); |
+ return d.floor(); |
} |
// TODO (olonho): use d.toStringAsFixed(precision) when implemented by DartVM |