Good day! I have a problem in adding two variable because if I add variable x with the value of 5 and variable y with the value of 10, I got the answer 510...it adds as if adding two string. I am using Actionsript 2.0.

Posted by on

• Level 1:

An expert who has achieved level 1.

• Contributor

In Actionscript 2.0 the output to the script below will be 15. Make sure that the values for the variables do not contain strings or extra characters like quotation marks. num1 = 5; num2 = 10; sum = num1 + num2; trace(sum);

Posted on Sep 30, 2007

SOURCE:

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### How much is intereston 1 varable 2 fixed rate

interest is interest
fixed is calculated yearly on the principle and is paid 365 days time
variable changes and is calculated daily ( 1/365 part of the interest rate ) and added to the remaining principle monthly
so if you have a loan of \$1000.00 on fixed interest of 10% , regardless of how much you have repaid in a 12 month period , it is 10% of the principle loaned
with a variable interest the interest rate could be 10% today, 15% in 2 months time or 6% later on
it is variable
to add to that it is calculated on a daily basis (1/365 of 10%) and added to the principle left after receiving a payment on the loan
so for a \$1000.00 the interest is added to that principle at the end of the month if there is no loan repayment or is added to the principle balance after a payment
the difference is that a variable interest rate loan will allow you to save money if you pay off well before the period of the loan but will add almost 2 to 3 times the loan if you pay the absolute minimum for the period of the loan
a fixed rate is where you know exactly the total interest to be paid at the end of term

May 09, 2016 | Computers & Internet

### What is factoring and give the examples

Quick-Start Guide When you enter an expression into the calculator, the calculator will simplify the expression by expanding multiplication and combining like terms. At this point the calculator will attempt to factor the expression by dividing a G C F, and identifying a difference between two squares, or factorable trinomials. Use the following rules to enter expressions into the calculator. Variables Any lowercase letter may be used as a variable. Exponents Exponents are supported on variables using the ^ (caret) symbol. For example, to express x 2, enter x ^ 2. Note: exponents must be positive integers, no negatives, decimals, or variables. Exponents may not currently be placed on numbers, brackets, or parentheses. Parentheses and Brackets Parentheses ( ) and brackets [ ] may be used to group terms as in a standard expression. Multiplication, Addition, and Subtraction For addition and subtraction, use the standard + and - symbols respectively. For multiplication, use the * symbol. A * symbol is optional when multiplying a number by a variable. For instance: 2 * x can also be entered as 2x. Similarly, 2 * ( x + 5 ) can also be entered as 2 ( x + 5 ) ; 2 x * ( 5 ) can be entered as 2 x ( 5 ). The * is also optional when multiplying parentheses, example: ( x + 1 ) ( x - 1 ). Order of Operations The calculator follows the standard order of operations taught by most algebra books - Parentheses, Exponents, Multiplication and Division, Addition and Subtraction. The only exception is that division is not currently supported; attempts to use the / symbol will result in an error. Division, Square Root, Radi cals, Fractions Division, square root, radi cals, and fractions are not supported at this time. A future release will add this functionality.

that's all I can say basically I learned it this way.

Jul 09, 2015 | Office Equipment & Supplies

### I can't get my scanner hooked up

Are you getting an error message? It could be your path EV. Try this
Look in C:\Windows\twain_32 and there should one other folder in there. In my case it was named CNQ4803.This is the path that is needed to be added into the PATH environment variable.

C:\Windows\twain_32\CNQ4803

Now, follow these instructions to get to the dialog to modify the PATH environment variable.Control Panel > System > and then choose Advanced System Settings in the left hand column.This will bring up the System Properties dialog (it should already be on the Advanced tab).At the bottom of this dialog is an Environment Variables button. Clicking this button will bring up the Environment Variables dialog. In the bottom panel, scroll until you find the variable named Path. Select this one and then hit the Edit... button to bring up the Edit System Variable dialog.
In the Variable value text box, scroll all the way to the right and then add in the path C:\Windows\twain_32\CNQ4803 that was determined earlier. Make sure to separate this value with a preceding semi-colon. And also be careful not to make any other changes to this value.
Now OK your way out of all of the dialogs and CanoScan Toolbox should now work as expected.

Nov 10, 2014 | Office Equipment & Supplies

I suppose you have 5 fingers in each hand.
If you put your two hands together, you make a new set of fingers out of the first two (the hands)
How many fingers in the new set, count them: 10. When you count by 1, you are in fact adding 1 to the previous result
You could see this new number of fingers as some combination (putting together, gathering) of the two numbers 5.
Mathematically you call this operation (combination) addition
The simplest things are sometimes the hardest to explain, or put into words.
Terminology: words
The addition operation is symbolized by the + sign.
Addition of a and b, or of b to a is written as a+b.
The result of the operation is called its sum
If I write a+ b= c, where c is some number
b is called the addend ( it is short for addendum), c is the sum . For some authors both a and b are called addends. You could say that any number involved in an addition (operation) is an addend.

Properties
2+3= 3+2=5
For arbitrary numbers (numbers you may choose), you can write
a+b=b+a
The order of the terms (which comes first, and which second) has changed but the result is the same. This is a property that is common to (shared with) all additions. It has received a scientific name, commutativity.
The addition is a commutative operation and we write a+b=b+a

Now imagine you have to add three or more numbers
2+5 +17
You can do that in two steps
(2+5)+17
You can also add in another way: add 5 and 17, then add the result to 2, which you write as 2+(5+17)
Let's compare the results of the two ways
(2+5)+17=7+17=24
2+ (5+17)=2+22=24
The two sums are identical. (2+5)+17=2+(5+17)=24
For other undisclosed numbers we can write
(a+b)+c=a +(b+c)

This property is verified by all sets of three numbers. It is a general property called associativity

There is another property
Neutral element.
In every set of numbers that has addition as a rule there is an element, call it e, such that
for any number a of the set a+e=e+a=a
the element e is called the neutral element, in that when added to a number it gives you back that number. For real numbers, the neutral element is the number 0.
Summary of words introduced :
I will stop here, believing that you have ADDED many new terms (words) to you vocabulary.

Dec 12, 2013 | Computers & Internet

### Ti 84 mode a+bi you can not add 5 at 90 degrees to 5 at -90 degrees. You need to switch to exponential mode e^ and enter as 5 e^(pi/2i) this is ok for 180 degrees. however what do you do when...

You can add angle measures by hitting 2nd angle and choosing the degree option. Put this after a value (e.g. 90(degrees symbol)) and add you can add angles that way. Be sure that you are in degree mode when doing this (you can use the radian symbol for adding radians too). Still, this is a very tedious process and I recommend just adding angles as regular values (e.g. 90 + 200 = 290) and correcting for degrees manually.

Feb 21, 2011 | Texas Instruments TI-84 Plus Calculator

### How do enter a lim of function when from one side using nderiv

Hello,
nDeriv( is valid only for real variables.
The syntax is as follows:
nDeriv ( expression, variable, value, epsilon)

expression: the function the derivative of which you want to calculate
variable: the name of the variable in the expression above (usually x)
value: the numerical value of the e x where you evaluate the derivative
epsilon: the numerical value of the tolerance. Default is 1x10^(-3). But you can change it to a smaller value to obtain a more precise result.

To use default value of epsilon
nDeriv ( expression, variable, value)

To use a different epsilon, ex 1x10^(-4)
nDeriv ( expression, variable, value, 0.0001)

nDeriv( A^3 , A, 5., 0.0001) should give you 75

Hope it helps.

Oct 21, 2009 | Texas Instruments TI-84 Plus Calculator

### Find the value of the variable ''x'' 6x+6=4x+12

6x+6=4x+12
Since 4x contains the variable to solve for, move it to the left-hand side of the equation by subtracting 4x from both sides.
6x+6-4x=12
Since 6x and -4x are like terms, add -4x to 6x to get 2x.
2x+6=12
Since 6 does not contain the variable to solve for, move it to the right-hand side of the equation by subtracting 6 from both sides.
2x=-6+12
Add 12 to -6 to get 6.
2x=6
Divide each term in the equation by 2.
(2x)/(2)=(6)/(2)
Simplify the left-hand side of the equation by canceling the common factors.
x=(6)/(2)
Simplify the right-hand side of the equation by simplifying each term.
x=3

Good Luck

Sep 10, 2009 | Audio Players & Recorders

### Constants/missing correlations in SPSS

If all values for a specific "dummy" variable are identical, then you should delete the variable, because it adds NO information to your analysis.

If all values for one "dummy" variable MATCH the values for another "dummy" variable, then the two variables are 100% correlated -- remove one of them from your analysis.

Apr 06, 2009 | SPSS 13.0 (30960UU)

### HOW TO PROGRAM ARITHMETIC ALGORITHM( ADDITION)IN C++

above int main () you will want "using namespace std;" without quotes. Under that, "int main ()" without quotes, then a [ bracket to start the main function.

Mar 16, 2009 | Computers & Internet

#### Related Topics:

70 people viewed this question

Level 3 Expert

Level 3 Expert