@Test
public void testAmericanNumberFormat() {

  String numString = "1 200 300.10";
  BigDecimal parsed = BigDecimalUtil.parseFromNumberString(numString);
  assertEquals(
      "The parsed value is not the expected.", 1200300.10, parsed.doubleValue(), 1e-6);
  numString = "1,200,300.10";
  parsed = BigDecimalUtil.parseFromNumberString(numString);
  assertEquals(
      "The parsed value is not the expected.", 1200300.10, parsed.doubleValue(), 1e-6);
}