Help with regular expressions.

Results 1 to 2 of 2

Thread: Help with regular expressions.

  1. #1
    Join Date
    Dec 1969

    Default Help with regular expressions.

    I&#039;ve a BoundColumn in a datagrid, mapping a "money" column in a SQL<BR>It shows like this: 12600.0000<BR>I just want to show the int part (ie: 12600).<BR>I&#039;ve tried giving a Data Formatting Expresion in the datagrid (with the DataFormatString= property)<BR>I&#039;ve tried with DataFormatString="/d" DataFormatString="/d{*,0}" but it gives me an error<BR><BR>Do someone know how can I format a regularexpression that shows me just the integer part of the decimal number?<BR><BR>Thanks in advance!

  2. #2

    Default RE: Help with regular expressions.

    /d ? /d{*,0} ???<BR><BR> matStringTopic.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts