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

Unified Diff: base/i18n/number_formatting.h

Issue 7189076: Localize strings, speeds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 9 years, 6 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 | « no previous file | base/i18n/number_formatting.cc » ('j') | ui/base/strings/app_strings.grd » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/number_formatting.h
diff --git a/base/i18n/number_formatting.h b/base/i18n/number_formatting.h
index f5ec083ab911d74cd22de35cd49df03a4cb14a97..984d33d19fa30d6e9e4cf57e45dab17bb27a7d00 100644
--- a/base/i18n/number_formatting.h
+++ b/base/i18n/number_formatting.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -11,8 +11,14 @@
namespace base {
+// Return a number formatted with separators in the user's locale.
+// Ex: FormatNumber(1234567) => "1,234,567"
jungshik at Google 2011/06/22 00:35:01 nit: To make it clear that this is locale-dependen
Avi (use Gerrit) 2011/06/22 16:48:25 Done.
string16 FormatNumber(int64 number);
+// Return a number formatted with separators in the user's locale.
+// Ex: FormatDouble(1234567.0, 1) => "1,234,567.0"
jungshik at Google 2011/06/22 00:35:01 nit : same here : 1,234,567.8 in English , 1.234.5
Avi (use Gerrit) 2011/06/22 16:48:25 Done.
+string16 FormatDouble(double number, int fractional_digits);
+
} // namespace base
#endif // BASE_I18N_NUMBER_FORMATTING_H_
« no previous file with comments | « no previous file | base/i18n/number_formatting.cc » ('j') | ui/base/strings/app_strings.grd » ('J')

Powered by Google App Engine
This is Rietveld 408576698