格式化货币值 [英] Formatting Currency Values

查看:93
本文介绍了格式化货币值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

货币值以用户计算机中指定的区域设置的格式显示。我想以美元格式显示所有货币值,而不管区域设置如何。我尝试将货币列格式化为$#。## 0,00;($#。## 0,00)但它仍然以区域格式显示值。

有没有办法指定一个应用程序特定设置。

The currency values are displayed in format of the regional settings specified in the computer of the user. I would like to display all the currency values in dollar format irrespective of the regional settings. i tried formatting the currency columns as $#.##0,00;($#.##0,00) but it still shows values in regional formats.
Is there a way to specify an application specific setting.

推荐答案

#。## 0,00;(
#.##0,00;(


#。## 0,00)但是它仍然以区域格式显示值。

有没有办法指定特定于应用程序的设置。
#.##0,00) but it still shows values in regional formats.
Is there a way to specify an application specific setting.


据我所知你只能设置自定义格式,句号为小数点,逗号为千位分隔符,如下所示:

As far as I''m aware you can only set the custom format with the full stop as the decimal point and the comma as the thousand separator as follows:


这篇关于格式化货币值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆