Hi I am trying to understand the following code line..
<div>What is "{0:#,###}" means? This is part of a code where</div> <div>a progress bar shows with like and dislikes. </div> <div>The progress bar will be colored in green and red for</div> <div>like and dislike. The red won't come-up in the bar so</div> <div>am trying to understand what is wrong here.. thanks for</div> <div>any explanation.</div> <div> <div></div> <div> <div> Dim [like] As String = "0"</div> <div> If Me.Liked > 0 Then</div> <div> [like] = String.Format("{0:#,###}", Me.Liked)</div><div> End If</div> <div> Dim dislike As String = "0"</div> <div> If Me.Disliked > 0 Then</div> <div> dislike = String.Format("{0:#,###}", Me.Disliked)</div> <div> End If</div> </div> </div>↧