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

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: Reupload due to error3 Created 7 years, 9 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
« no previous file with comments | « samples/logo/logo.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/solar3d/web/solar.dart
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
index 728bb9a685bc6fb6c16efe2f05cb70edf828eab8..648ecd31d5e26ae58c4cc44eae3104d950eeb461 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";
}
/**
« no previous file with comments | « samples/logo/logo.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698