Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GWTNumberFormatでスペースを千の区切り文字として指定する方法。
GWTのNumberFormatクラスを使用して数値をフォーマットしています。1000をスペースで区切る必要があります。それを回避することはできないので、助けが必要です。
したがって、1000000000は10000000000.00になります
要件がローカリゼーションによるものである場合は、適切なロケールを選択する必要があるだけかもしれません。
例としてfrを使用します。
<extend-property name="locale" value="fr" /> <set-property name="locale" value="fr" /> <set-property-fallback name="locale" value="fr" />