separate 3 number in repeaters or anything webparts

Reza sh asked on December 5, 2015 08:52

hi. we have many product in website and show those price with repeater. how could separate the price with 3 numbers? 1200000 = 1.200.000 thanks.

Correct Answer

Juan Alchourron answered on December 5, 2015 15:58

Are you using ascx tranformations ? Take a look at the C# string Format

String.Format("{0:c}", 10) will return $10.00

I'm sure you will find what you need.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.