Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
| Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 14th, 2004, 10:18 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: , , .
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default displaying amount with , separator

Hi I am working in ASP.net
I am displaying amount from database in a table is there any function display it with coma separator?
ex amt=18887895.78 i want something likeamt=18,887,895.78

thanks




  #2 (permalink)  
Old July 15th, 2004, 02:09 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: , , .
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi got it
string.format("{0:#,###.##}", amt)



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to retrieve the amount nimmalaramesh SQL Server 2000 1 December 26th, 2007 12:38 PM
Hiding the last Separator in a data bound DataList .Netster ASP.NET 2.0 Basics 1 March 8th, 2007 11:14 AM
String separator toshesh BOOK: Beginning Access VBA 0 May 24th, 2006 11:20 AM
How to Use the Thousand Separator Formula? tks_muthu Pro VB Databases 1 July 15th, 2005 12:34 AM
How to Use the Thousand Separator Formula tks_muthu VB Databases Basics 0 July 4th, 2005 07:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.