Number in scala examples