清单12显示了如何支持不同地区的货币格式。
Listing 12 shows how to support currency formatting according to a different locale.
NumberFor mat类也支持货币格式。
The Java.text.NumberFormat class also supports currency format.
注意,未以标准货币格式显示该度量值。
Notice that the measure does not display in a standard currency format.
不是货币格式。
如果这两个值都没有指定,则采用数据库服务器的默认货币格式。
When neither of them is specified, the database server's default money format is assumed.
正如您看到的那样,切换货币值的货币格式会导致不正确的结果。
As you can see, switching the currency formatting on a currency value can lead to incorrect results.
首先,货币格式化灵活性不佳,不允许我指定在我想要的位置放置货币符号。
First, the currency formatting isn't flexible to allow me to specify where I want the currency symbol.
也可以将这些单元格的格式设置为货币格式以在负值两边显示圆括号。
You can also format these cells as currency to display parentheses around negative values.
如果不指定这个值,则数据库服务器使用在DBMONEY环境变量中指定的货币格式。
When this is not specified, the database server USES the money format specified in the DBMONEY environment variable.
货币格式用于表示一般货币数值。记帐格式可以对一列数值进行小数点对齐。
Currency formats are used for general monetary values. Use Accounting formats to align decimal points in a column.
另外,各种格式、分隔符、日期和货币格式能够满足来自任意数据源和任意地理位置的数据文件的要求。
Various formats, delimiters, and date and money formats are accommodated so the data files may come from any data source and any geographic location.
货币格式通常由地区、货币名称、货币子单位、货币标记、正数格式、负数格式、货币代码和货币分隔符构成。
Currency format is usually composed of a locale, currency name, currency subunits, currency symbol, positive format, negative format, currency codes, and currency separators.
除了数字和货币格式化之外,intl还能处理更为复杂的任务,比如拼写出数字—同样地,不只是针对英语,很多其他受支持的locale也可以。
Apart from number and currency formatting, intl handles more sophisticated tasks, like spelling out numbers-again, not only for English but for many supported locales.
除了可以转换日期和时间格式外,JSF还提供了处理像百分数或者货币数据这类值的特殊转换器。
In addition to allowing you to convert date and time formats, JSF provides a special converter for dealing with Numbers such as percentages or currency.
其他需要本地化的领域有时间和数字的正确格式、货币差异和度量衡的差异。
Correct formatting of times and Numbers, currency differences, and metric measurement differences are other areas that need to be localized.
语言环境表示某一特定区域或文化的语言习惯,包括日期、数字和货币金额的格式。
A locale represents the linguistic conventions of a particular region or culture, including the formatting of dates, Numbers, and currency amounts.
易于读取日期、持续时间、货币、整数、双精度、百分比和布尔值格式的数据。
Easy to read format data for date, duration, currency, integers, doubles, percentage and Boolean.
清单7显示了如何获得货币实例,以及如何格式化将要显示为货币的数值。
Listing 7 shows how to get a currency instance and how to format a number to be displayed as currency.
DBMONEY:外部数据文件中的货币列值的货币符号采用由DBMONEY指定的格式。
DBMONEY: the currency symbol for the money column values in the external data file are in the format specified by the DBMONEY.
如果在门户网站中验证结果,可以看到货币、日期和时间均设置为中文格式,而长度和重量均设置为米制格式。
If you verify the result in the portal Web site, you can see that the Currency, Date, and Time are set to Chinese format, while Length and Weight are set to metric format.
可以调用setlocale来确定字符集、错误消息类别、货币值格式、数字转换、字符串校勘和字母排序。
The setlocale call determines the character set, error messages catalogs, monetary value formatting, numerical conventions, string collation, and alphabetic ordering.
相反,它会影响. NETFramework如何设置日期、数字和货币的格式。
Instead, it affects how the.net Framework formats dates, Numbers, and currency.
也并非世界上每一个人都会以相同的方式格式化他(她)的数字、日期和货币。
Nor does everyone in the world format his or her Numbers, dates, and currency the same way.
在一台机器上,地区代表用户选择的显示语言(例如,英语或西班牙语),以及日期、时间、货币等方面的格式化约定。
On a single machine, the locale indicates the user's preference for the language displayed (for example, English or Spanish), as well as formatting conventions for date, time, currency, and so on.
这就引入了许多在软件系统中的普遍的国际化问题,包括数据转换、文化习惯。例如数据格式、货币形式等等。
This introduces many of the internalization issues common in software systems, including data translation, cultural conventions, such as date format and currency, and so on.
该代码用来确定作为已格式化值的一部分显示的货币符号。
This code is used to determine the currency symbol to display as part of the formatted value.
在报告中货币引用可能也需转换和格式化。
Currency reference may also need to be converted and formatted in the reporting.
在图6中,可以看到一些格式编排不正确的货币数据,以及所导致的转换错误。
In Figure 6, you see some incorrectly formatted currency data and the resulting conversion error.
在大多数情况下,您必须为一种语言环境正确设定日期和货币的格式并正确显示日期和货币。
In most cases, you must properly format and display dates and currency for a locale.
用户键入一个数字、货币或百分比时,您都需要获得该信息,而且需要它的格式是能用来创建Number对象的格式。
Once a user types in a number, currency, or percentage, you need to get that information, and you need it in a form that you can create a number object with it.
应用推荐