- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在kendo中有一列是金额,这一列以美元格式呈现,对应的列明细为
{
field: 'INVOICE_AMOUNT_ORIGINAL',
title: $translate.instant('invoiceAmount'),
format: '{0:n}',
headerTemplate: '{{ \'invAmount\' | translate }}',
attributes: {
style: 'text-align: right;'
},
width: 115
},
我现在希望将此格式更改为欧元格式,在阅读剑道纪录片后,我尝试将上面代码中的格式设置为:'{0:c}',但它在前面给出了美元符号,如何我可以将格式转换为欧元吗?我不需要任何转换,只需要从美元到欧元的格式
最佳答案
我认为您必须定义您拥有的货币类型 this :
---
[format]="{ style: 'currency', currency: 'EUR' }",
---
另一个解决方案可能是 this方法:
---
format: '{0:c3}', // converts to euro (according to the site)
---
关于javascript - 欧元格式剑道网格列 Angular JS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53601059/
我正在使用 python 正则表达式查找字符串中的所有价格。到目前为止,我只是无法正确管理符号。此代码,输入:'happy$37.54000happy$34$3454$3333€27.80€3.00.
如何使用 imagettftext() 创建 € 符号?我使用的字体“Lucida Grande”包含欧元符号。€ 也不起作用。 最佳答案 参见the documentation (强调我的): Th
我正在使用 AngularJS 货币过滤器,但在正确显示欧元符号时遇到了问题。 HTML: {{ price.priceTotal | currency: myController.getPriceC
为了练习,我需要构建一个非常简单的货币转换器,仅以设定汇率 (0.91/1.09) 将货币从美元转换为欧元,反之亦然。我希望我的 App.js 文件尽可能模块化。另外,我想使用钩子(Hook)(不是类
我有一个 XML 文档 file.xml它以 Iso-latin-15(又名 Iso-Latin-9)编码 €.txt 从我最喜欢的文本编辑器中,我可以看出这个文件以 Iso-Latin-1
我可以将 Alt 键与数字键盘结合使用来键入符号,但如何以编程方式将符号(英镑、欧元、版权)插入文本框? 我有一个配置屏幕,所以我需要动态创建\uXXXX。 最佳答案 在 C# 中,Unicode 字
我使用此 URL 在 CS:GO 容器中一次获取 100 个结果。我用 {currency} 代替 3,用 {start} 代替 100 的倍数,我的问题是 currency=3 code> 似乎不是
我的 Angular 应用程序需要以不同格式显示货币,例如:$、£、2.105,10€ - + 之后的欧元符号不同的分隔符 - 这可以通过包含 i18n angular-locale_de-de.js
我想使用欧元货币构建一个 PayPal 支付 URL。 我在以下位置找到了欧元 (EUR) 的国家/地区代码: https://developer.paypal.com/docs/classic/ap
我是一名优秀的程序员,十分优秀!