calculate button and currency formatting