OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Make sure minimumFractionDigits is honored | |
6 | |
7 var nf = new Intl.NumberFormat("en-us",{ useGrouping: false, minimumFractionDigi ts: 4}); | |
8 | |
9 assertEquals("12345.6789", nf.format(12345.6789)); | |
OLD | NEW |