 
   test 'numeral rounding', () ->
     tests = [
-      [2280002, '0.00a', '2.28m', '2.29m']
-      [10000.23,'0,0','10,000', '10,001']
-      [1000.234,'$0,0.00','$1,000.23', '$1,000.24']
-      [0.974878234,'0.000%','97.487%','97.488%']
-      [-0.433,'0 %','-44 %', '-43 %']
+      [2280002,     '0.00a',   '2.28m',     '2.29m']
+      [10000.23,    '0,0',     '10,000',    '10,001']
+      [1000.234,    '$0,0.00', '$1,000.23', '$1,000.24']
+      [0.974878234, '0.000%',  '97.487%',   '97.488%']
+      [-0.433,      '0 %',     '-44 %',     '-43 %']
     ]
 
     for [value, format, floor_result, ceil_result] in tests


  test 'numeral percentage formatting', () ->
    tests = [
      [1,'0%','100%']
      [0.974878234,'0.000%','97.488%']
      [-0.43,'0 %','-43 %']
      [0.43,'(0.00[0]%)','43.00%']
    ]

    for [value, format, result] in tests


  test 'numeral currency formatting', () ->
    tests = [
      [1000.234,  '$0,0.00',    '$1,000.23']
      [1001,      '$ 0,0.[00]', '$ 1,001']
      [1000.234,  '0,0.00 $',   '1,000.23 $']
      [-1000.234, '($0,0)',     '($1,000)']
      [-1000.234, '(0,0$)',     '(1,000$)']
      [-1000.234, '$0.00',      '-$1000.23']
      [1230974,   '($0.00 a)',  '$1.23 m']
      [-1000.234, '$ (0,0)',    '$ (1,000)']
      [-1000.234, '$(0,0)',     '$(1,000)']
      [-1000.234, '$ (0,0.00)', '$ (1,000.23)']
      [-1000.234, '$(0,0.00)',  '$(1,000.23)']
      [-1000.238, '$(0,0.00)',  '$(1,000.24)']
      [-1000.234, '$-0,0',      '$-1,000']
      [-1000.234, '$ -0,0',     '$ -1,000']
      [1000.234,  '$ (0,0)',    '$ 1,000']
      [1000.234,  '$(0,0)',     '$1,000']
      [1000.234,  '$ (0,0.00)', '$ 1,000.23']
      [1000.234,  '$(0,0.00)',  '$1,000.23']
      [1000.238,  '$(0,0.00)',  '$1,000.24']
      [1000.234,  '$-0,0)',     '$1,000']
      [1000.234,  '$ -0,0',     '$ 1,000']
    ]

    for [value, format, result] in tests
