Games Achievements My Kong Sign In

Geripii's Comments

Comment

The Programmer RPG

Play The Programmer RPG

Dec. 04, 2013

Rating: 0

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?

Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms of Service Privacy Policy Code of Conduct
© 2025 Kongregate