|
-
March 14th, 2012, 06:24 PM
#1
I need help
I'm trying to multiply a numericUpDown input.Here is my code so far:
double pi = Math.PI;
decimal number1 = numericUpDown1.Value;
int RadiusToCircumference = number1 * 2 * pi;
MessageBox.Show("The circumference is" + RadiusToCircumference);
Dont think im stupid that i didnt figure this out yet. just started programming yesterday.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|