By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,280 Members | 2,263 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,280 IT Pros & Developers. It's quick & easy.

negative #'s and Positive #'s

P: 556
i am making a program that is about algebra and i want to know how can i get it to put negative and positive numbers in a text box for example if i had a problem that is:

-6(2x + 10) = -48,
-12x + 60 = -48

in my project i have 6 textboxes for the numbers and two of them are for "X"
if the problem has the "X" after the 10 anyway in this project i show the steps for figuring thes problems out right down to the answer.(with labels under it) but when i put a negative number like -6 in the textbox and multiply it by the 2x and the 10 the text boxes i have to show how to solve the problem both numbers come out negative

so i want to only show the number that is suppose to be negative

how do i do this?

Sep 27 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.