Blog di Andrea Soldano

"I have a dream ..."
posts - 53, comments - 67, trackbacks - 6

My Links

News








Tag Cloud

Archives

Post Categories

I miei siti

Formattare il testo di una label

Per formattare il testo di una label nella valuta corrente:

Dim price As Double = 30000.1

Dim s As String 'create a string

s = String.Format("{0:c}", price)

Label1.Text = s

 

L'output corrisponderà a € 30.000,10

 

ciao

Andrea SOLDANO

Print | posted on venerdì 1 luglio 2005 15.37 |

Feedback

Gravatar

# re: Formattare il testo di una label

o anche...

price.ToString("c")
01/07/2005 16.28 | Giancarlo Sudano

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 6 and 1 and type the answer here:

Powered by: