[Solved] double value calculation [closed]

Ok, so you want to take 18.33 and just use the integer part of the number and multiply that by something else….like the number 5. Here’s 2 ways you can do it: var something = (int)result * 5; //equals 90 (int) var somethingElse = Math.Truncate(result) * 5; //equals 90.0 (double) 1 solved double value calculation … Read more

[Solved] How can i make that the lines in richTextBox1 will start from the right to the left?

Refer to the documentation on SelectionAlignment property: http://msdn.microsoft.com/en-us/library/system.windows.forms.richtextbox.selectionalignment%28v=VS.100%29.aspx Use the above (in your scenario) like so: richTextBox1.SelectAll(); richTextBox1.SelectionAlignment = HorizontalAlignment.Right; solved How can i make that the lines in richTextBox1 will start from the right to the left?