未验证 提交 9b013955 编写于 作者: O openharmony_ci 提交者: Gitee

!8353 modify percent style num format to 3.2rls

Merge pull request !8353 from 杨清/cherry-pick-1680604604
......@@ -1204,7 +1204,7 @@ describe('intlTest', function () {
let numfmt = new Intl.NumberFormat('en-CN', { style: 'percent', maximumFractionDigits: 2,
minimumIntegerDigits: 7 });
console.log('formatNumber_test_2300 ' + numfmt.format(123456.789));
expect(numfmt.format(123456.789)).assertEqual('0,123,456.79%');
expect(numfmt.format(123456.789)).assertEqual('12,345,678.9%');
})
/* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册