Thousand Seperator

AFAIK, There are two ways to convert the normal numeric value to the numeric value with thousand seperator.
First way can be written in codebehind file as mention below.

Dim nfi As NumberFormatInfo = New CultureInfo("en-us", False).NumberFormat
Dim myint As Int64
Console.WriteLine(myint.ToString("N", nfi))

Other way is that formatting the datafield in databound control(i.e; repeater) by using “{0:N}” code.

<td align=”right” nowrap=”true”>&nbsp;<%# DataBinder.Eval(Container.DataItem, “BalAmount”,”{0:N}”) %></td>

2 thoughts on “Thousand Seperator

  1. One of the realistic to start with brand-new software program is taking a formal educational setting
    android apk apps download chemo and cancer both make a difference your cravings android apk
    download free it is important you simply develop the habit of reading books
    and updating know-how android apk apps mobile9
    You will also receive helpful software that aid in keeping time
    android apk download location

Leave a Reply

Your email address will not be published. Required fields are marked *