How to get specific culture currency pattern

前端 未结 7 1931
一向
一向 2020-12-16 11:35

How do i get the currency pattern for a specific culture?

For Example:

Instead of using:

string.Format(\"{0:c}\", 345.10)

I

相关标签:
7条回答
  • 2020-12-16 12:00

    Have you tried using string.Format("{0:N2} €", 345.10)? This should format to 2 decimal places in the users culture followed by a space and the euro symbol.

    0 讨论(0)
提交回复
热议问题