Formatar String

label1.Text = String.Format(“{0:0.00}”, valor)Â Â Â ->Â 9.56

label1.Text = String.Format(“{0:0.0}”, valor)Â Â Â ->Â Â 9.6

Comments are closed.