Could anyone help me?
/String and Valuables/
4/8
Part 4/8 Using Strings and Variables
1 private var userMoney:Number = 300;
2 private var dollarSymbol:String = "$";
Great. Now we just need to put our $ string together with our variable. We can do this with concatenation. All you have to do is concatenate the two variables. Create a variable called displayMoney, of type String, and set it equal to the two variables concatenated. Make sure you write them in the correct order! 300$ would look silly. Check the hint if you need help.
private var displayMoney:String = userMoney + dollarSymbol;
this code don't work. what's the problem?