1 2 3 4 5 6 7
object Test { def main(args : Array[String]) : Unit = { println("\{1} plus \{1} is \{1 + 1}") val x = 1.1 println("We have a \{ x ;2.2f}% chance of success") } }