比利时荷兰语的正确货币格式是什么? [英] What's the correct currency format in Belgian Dutch?
本文介绍了比利时荷兰语的正确货币格式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在用Java格式化某种货币.这件作品输出9,99€
I'm formatting some currency in Java. This piece outputs 9,99 €
final NumberFormat nf = NumberFormat.getCurrencyInstance(new Locale("nl", "BE"));
nf.setCurrency(EUR);
nf.format(new BigDecimal("9.99"));
但是我们的其中一个付款提供商(其返回的格式是预格式化的)会产生9,99欧元
but one of our payment providers, which returns amounts preformatted, outputs € 9,99
nl-BE
哪个正确?
与更多与编程相关的问题,如果事实证明付款提供商而不是Java是正确的,我该如何在不使用语言环境的情况下修复Java的方式(在实际代码中,比利时的 Dutch 区域设置不是硬编码的)
And more programming related, if it turns out the payment provider, and not Java, is correct, how do I fix the Java way without hacks per locale (in the real code the Dutch in Belgium locale is not hardcoded)
推荐答案
如果相信维基百科,都不正确:
在比利时荷兰语中,欧元符号可以位于金额的前面或后面, 后者更为常见.
In Belgian Dutch, the euro sign can go before or after the amount, the latter being more common.
这篇关于比利时荷兰语的正确货币格式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文