Posts by Afonso Henrique • 1 point
1 post
-
0
votes3
answers857
viewsA: Dollar next to number in Tostring format
I use the {0:C} double valor; valor = double.Parse(txtValor.Text); MessageBox.Show("O valor é " +String.Formart("{0:C}", valor)); He takes the value of TextBox and displays on MessageBox in the…