@Test
public void testConversionToDecimalType() {

    assertEquals(new DecimalType("1.0"), new HSBType("100,100,100").as(DecimalType.class));
    assertEquals(new DecimalType("0.01"), new HSBType("100,100,1").as(DecimalType.class));
    assertEquals(DecimalType.ZERO, new HSBType("100,100,0").as(DecimalType.class));
}