@Test
public void testConversionToDecimalType() {

    assertEquals(new DecimalType("1.0"), new PercentType("100.0").as(DecimalType.class));
    assertEquals(new DecimalType("0.01"), new PercentType("1.0").as(DecimalType.class));
    assertEquals(DecimalType.ZERO, new PercentType("0.0").as(DecimalType.class));
}