change formatNumber and div procedure