Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: PoolVolume.Text = String.Format("{0:D2}", Result)


Message #1 by "Robert Sindall" <rsindall@z...> on Tue, 25 Mar 2003 13:27:47 -0000
Dim d As Decimal = New Decimal(2340982.0234098234)
Dim Result As String = d.ToString("F2")

Result: 2340982.02

HTH

-----Original Message-----
From: Robert Sindall [mailto:rsindall@z...] 
Sent: Tuesday, March 25, 2003 8:28 AM
To: ASPX_Professional
Subject: [aspx_professional] PoolVolume.Text = String.Format("{0:D2}",
Result)


Hi

Result is a decimal:

Format specifier was invalid. 

PoolVolume.Text = String.Format("{0:D2}", Result)

help?





  Return to Index