Need a custom currency format to use with String.Format

前端 未结 5 700
無奈伤痛
無奈伤痛 2021-01-04 05:55

I\'m trying to use String.Format(\"{0:c}\", somevalue) in C# but am having a hard time figuring out how to configure the output to meet my needs. Here are my needs:

5条回答
  •  不知归路
    2021-01-04 06:11

    Here's a great reference that you might find useful, which summarises this data: http://blog.stevex.net/string-formatting-in-csharp/

提交回复
热议问题