A console line calculator