public static String decimalFormat(String pattern, double value) {
		Assert.isTrue(isValid(value), "value is NaN or Infinite!");
		return new DecimalFormat(pattern).format(value);
	}
@Test
	public void decimalFormatDoubleTest() {
		final Double c = 467.8101;

		final String format = NumberUtil.decimalFormat("0.00", c);
		assertEquals("467.81", format);
	}