Use a custom thousand separator in C#

后端 未结 4 1950
走了就别回头了
走了就别回头了 2020-11-27 05:37

I\'m trying not to use the \',\' char as a thousand separator when displaying a string, but to use a space instead. I guess I need to define a custom culture, but I don\'t s

4条回答
  •  情歌与酒
    2020-11-27 06:37

    Create your own NumberFormatInfo (derivative) with a different thousand separator.

提交回复
热议问题