Addition and comparison of amounts