Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2581)

Unified Diff: samples/solar3d/web/solar.dart

Issue 12317107: ceil/floor/truncate/round return integers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Some fixes from CL 11748016. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/solar3d/web/solar.dart
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
index 6551c3b339ad219458795b53c7b4cefb89264587..8ed4c7e8318868e861af83ec4b4406ff0cf3de98 100644
--- a/samples/solar3d/web/solar.dart
+++ b/samples/solar3d/web/solar.dart
@@ -265,7 +265,7 @@ void showFps(num fps) {
fpsAverage = fps * 0.05 + fpsAverage * 0.95;
- query("#notes").text = "${fpsAverage.round().toInt()} fps";
+ query("#notes").text = "${fpsAverage.round()} fps";
}
/**
« runtime/lib/double.dart ('K') | « samples/logo/logo.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698