Index: test/intl/number-format/check-minimum-fraction-digits.js |
diff --git a/test/intl/number-format/check-minimum-fraction-digits.js b/test/intl/number-format/check-minimum-fraction-digits.js |
new file mode 100755 |
index 0000000000000000000000000000000000000000..57e65be55e22525322c457a45a4dfddc6ef373d1 |
--- /dev/null |
+++ b/test/intl/number-format/check-minimum-fraction-digits.js |
@@ -0,0 +1,9 @@ |
+// Copyright 2015 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Make sure minimumFractionDigits is honored |
+ |
+var nf = new Intl.NumberFormat("en-us",{ useGrouping: false, minimumFractionDigits: 4}); |
+ |
+assertEquals("12345.6789", nf.format(12345.6789)); |