the first example dealt wih whole numbers the second exambles addede two decimal numbers