Advertisement
Gov_777

string format

Sep 24th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1. protected void Button1_Click(object sender, EventArgs e)
  2.  
  3. {
  4.  
  5. float f = 0.0000666f;
  6.  
  7. TextBox1.Text = String.Format("{0:0,0.0000000}", f);
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement