updated for r29761, 0.8.10
allow decimals of arbitrary precision
prevent new numbers after a solution is shown
function to clear calculator and function to remove last digit of current value