Adding strings and numbers: the compiler will convert the numbers to strings rather than the other way around.
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var a:Number = 2 + "2"; trace(a); // Displays: 22 } } }