public BigDecimal getAmount() {
		return BigDecimal.valueOf(cent, currency.getDefaultFractionDigits());
	}
@Test
	public void centToYuanTest() {
		final Money money = new Money(1234, 56);
		assertEquals(1234.56D, money.getAmount().doubleValue(), 0);

		assertEquals(1234.56D, MathUtil.centToYuan(123456), 0);
	}