Home > Net >  O bosses give advice or comments
O bosses give advice or comments

Time:10-01

I want to put the Numbers in the textbox into three a comma, then two decimal point, like in the picture, the input will be three a comma, this show is three a comma

CodePudding user response:

The string. Format (" {0: N2} ", 123456789)

CodePudding user response:

reference 1st floor asq985 response:
string. The Format (" {0: N2} ", 123456789)

I still won't do here, is this what is fat

CodePudding user response:

Post code

CodePudding user response:

refer to the second floor qq_30686181 response:
Quote: refer to 1st floor asq985 response:
string. The Format (" {0: N2} ", 123456789)

I here or not, this is how fat thing

It must be can
Or the string. Format (" {0: N} ", 123456789)
  •  Tags:  
  • C#
  • Related