display of calculation in a calculator