0
A
回答
1
你可能想要做的是什麼格式的價格通過currency
過濾器,將與如果您安裝正確的本地化文件,請使用逗號。您可以在Angular Currency Formatter with Comma
0
爲什麼不能使用簡單的javascript替換?你應該能夠提取你想要的變量,然後做這樣的事情。
variable = variable.replace(".",",");
你應該能夠將此代碼集成到您的角度應用程序無縫
相關問題
- 1. C++ - Qt Creator - /如何在QDoubleSpinBox上將DOT和COMMA作爲小數點分隔符?
- 2. Ag-Grid Filter Comma
- 3. JQuery to Angularjs
- 4. AngularJS $注射 - DOT和支架訪問者
- 5. Javascript to AngularJS指令
- 6. AngularJS to Angular with Webpack
- 7. Apache dot dot斜槓重寫
- 8. '../'(dot dot斜槓)的縮寫
- 9. Angularjs - html to pdf using pdfmake.js
- 10. AngularJS UpgradeAdpater for 1 to 2 Issue
- 11. `domain dot tld`與`domain dot tld dot`相同嗎? (TLD後點)
- 12. symfony2 translation escape dot
- 13. JavaScript-Dot導航
- 14. CUDA Dot產品
- 15. WatchKit UIPageControl Dot Color
- 16. Dot Syntax Issue
- 17. mongo dot notation ambiguity
- 18. dot:短劃線
- 19. Azure和Dot網
- 20. git checkout。(dot)interactive
- 21. .bat - 如何從目錄命令中刪除「dot」和「dot dot」項目
- 22. angularjs $ http響應數據asStream to Aliyun OSS?
- 23. Vue Router Webpack Dot in Params
- 24. Dot dotdot dotdotdot as loading?
- 25. Dot Net Nuke安裝
- 26. Dot net fortify掃描
- 27. Dot Product/w Neon Intrinsics
- 28. filepath.Walk only文件DOT文件
- 29. 如何用JavaScript中的<comma>替換%2C?
- 30. 應用程序引擎請求路由到version-dot-project-dot-appspot-preview.com
中看到德國本地化的示例我比使用'replace'更喜歡此解決方案,因爲您不更改數據。 Upvoting這一個。 – trichetriche
謝謝!它解決了我的問題! – Johnson
@trichetriche我同意。 – jkushner